Models
Types

Models

Currency

Description: * * Таблица валют (currencies) * Хранит информацию о доступных валютах в системе: их код, название и символ. * Используется для финансовых операций (платежи, кассы, продажи, покупки и т.д.)

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор валюты, пример: "b24c7d4a-1e2b-43a7-9c8b-123456789abc"
code String
  • @unique
Yes ISO код валюты, пример: "USD", "UZS", "EUR"
name String
  • -
Yes Полное название валюты, пример: "Доллар США" или "Узбекский сум"
symbol String
  • -
Yes Символ валюты, пример: "$", "€", "so’m"
createdAt DateTime
  • @default(now())
Yes Дата и время создания записи, пример: "2025-11-02T12:00:00Z"
updatedAt DateTime
  • @updatedAt
Yes Дата последнего обновления записи, обновляется автоматически
product_prices ProductPrice[]
  • -
Yes * * Связи с другими таблицами Цены на товары, привязанные к валюте
kassas Kassa[]
  • -
Yes Кассы, работающие в этой валюте
payments Payment[]
  • -
Yes Платежи, совершённые в этой валюте
transactions Transaction[]
  • -
Yes Финансовые транзакции, связанные с валютой
sales Sale[]
  • -
Yes Продажи, проведённые в этой валюте
sale_items SaleItem[]
  • -
Yes Товары, проданные в этой валюте
purchases Purchase[]
  • -
Yes Закупки, проведённые в этой валюте
from_transfers KassaTransfer[]
  • -
Yes Переводы, исходящие из этой валюты
to_transfers KassaTransfer[]
  • -
Yes Переводы, поступающие в эту валюту
settings Settings[]
  • -
Yes Настройки, где указана валюта по умолчанию или используемая
product_variant ProductVariant[]
  • -
Yes -

Operations

findUnique

Find zero or one Currency

// Get one Currency
const currency = await prisma.currency.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CurrencyWhereUniqueInput Yes

Output

Type: Currency
Required: No
List: No

findFirst

Find first Currency

// Get one Currency
const currency = await prisma.currency.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CurrencyWhereInput No
orderBy CurrencyOrderByWithRelationInput[] | CurrencyOrderByWithRelationInput No
cursor CurrencyWhereUniqueInput No
take Int No
skip Int No
distinct CurrencyScalarFieldEnum | CurrencyScalarFieldEnum[] No

Output

Type: Currency
Required: No
List: No

findMany

Find zero or more Currency

// Get all Currency
const Currency = await prisma.currency.findMany()
// Get first 10 Currency
const Currency = await prisma.currency.findMany({ take: 10 })

Input

Name Type Required
where CurrencyWhereInput No
orderBy CurrencyOrderByWithRelationInput[] | CurrencyOrderByWithRelationInput No
cursor CurrencyWhereUniqueInput No
take Int No
skip Int No
distinct CurrencyScalarFieldEnum | CurrencyScalarFieldEnum[] No

Output

Type: Currency
Required: Yes
List: Yes

create

Create one Currency

// Create one Currency
const Currency = await prisma.currency.create({
  data: {
    // ... data to create a Currency
  }
})

Input

Name Type Required
data CurrencyCreateInput | CurrencyUncheckedCreateInput Yes

Output

Type: Currency
Required: Yes
List: No

delete

Delete one Currency

// Delete one Currency
const Currency = await prisma.currency.delete({
  where: {
    // ... filter to delete one Currency
  }
})

Input

Name Type Required
where CurrencyWhereUniqueInput Yes

Output

Type: Currency
Required: No
List: No

update

Update one Currency

// Update one Currency
const currency = await prisma.currency.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data CurrencyUpdateInput | CurrencyUncheckedUpdateInput Yes
where CurrencyWhereUniqueInput Yes

Output

Type: Currency
Required: No
List: No

deleteMany

Delete zero or more Currency

// Delete a few Currency
const { count } = await prisma.currency.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CurrencyWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one Currency

const { count } = await prisma.currency.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data CurrencyUpdateManyMutationInput | CurrencyUncheckedUpdateManyInput Yes
where CurrencyWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one Currency

// Update or create a Currency
const currency = await prisma.currency.upsert({
  create: {
    // ... data to create a Currency
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Currency we want to update
  }
})

Input

Name Type Required
where CurrencyWhereUniqueInput Yes
create CurrencyCreateInput | CurrencyUncheckedCreateInput Yes
update CurrencyUpdateInput | CurrencyUncheckedUpdateInput Yes

Output

Type: Currency
Required: Yes
List: No

CurrencyRate

Description: * * Курс валюты

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes uuid
baseCurrency String
  • -
Yes Валюта, из которой производится конвертация.
targetCurrency String
  • -
Yes Валюта, в которую конвертируется.
rate Decimal
  • -
Yes Курс обмена. Показывает, сколько единиц targetCurrency равны 1 единице baseCurrency.
date DateTime
  • @default(now())
Yes Дата и время, на которые установлен этот курс. Обычно хранится для истории.

Operations

findUnique

Find zero or one CurrencyRate

// Get one CurrencyRate
const currencyRate = await prisma.currencyRate.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CurrencyRateWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first CurrencyRate

// Get one CurrencyRate
const currencyRate = await prisma.currencyRate.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CurrencyRateWhereInput No
orderBy CurrencyRateOrderByWithRelationInput[] | CurrencyRateOrderByWithRelationInput No
cursor CurrencyRateWhereUniqueInput No
take Int No
skip Int No
distinct CurrencyRateScalarFieldEnum | CurrencyRateScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more CurrencyRate

// Get all CurrencyRate
const CurrencyRate = await prisma.currencyRate.findMany()
// Get first 10 CurrencyRate
const CurrencyRate = await prisma.currencyRate.findMany({ take: 10 })

Input

Name Type Required
where CurrencyRateWhereInput No
orderBy CurrencyRateOrderByWithRelationInput[] | CurrencyRateOrderByWithRelationInput No
cursor CurrencyRateWhereUniqueInput No
take Int No
skip Int No
distinct CurrencyRateScalarFieldEnum | CurrencyRateScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one CurrencyRate

// Create one CurrencyRate
const CurrencyRate = await prisma.currencyRate.create({
  data: {
    // ... data to create a CurrencyRate
  }
})

Input

Name Type Required
data CurrencyRateCreateInput | CurrencyRateUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one CurrencyRate

// Delete one CurrencyRate
const CurrencyRate = await prisma.currencyRate.delete({
  where: {
    // ... filter to delete one CurrencyRate
  }
})

Input

Name Type Required
where CurrencyRateWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one CurrencyRate

// Update one CurrencyRate
const currencyRate = await prisma.currencyRate.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data CurrencyRateUpdateInput | CurrencyRateUncheckedUpdateInput Yes
where CurrencyRateWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more CurrencyRate

// Delete a few CurrencyRate
const { count } = await prisma.currencyRate.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CurrencyRateWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one CurrencyRate

const { count } = await prisma.currencyRate.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data CurrencyRateUpdateManyMutationInput | CurrencyRateUncheckedUpdateManyInput Yes
where CurrencyRateWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one CurrencyRate

// Update or create a CurrencyRate
const currencyRate = await prisma.currencyRate.upsert({
  create: {
    // ... data to create a CurrencyRate
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the CurrencyRate we want to update
  }
})

Input

Name Type Required
where CurrencyRateWhereUniqueInput Yes
create CurrencyRateCreateInput | CurrencyRateUncheckedCreateInput Yes
update CurrencyRateUpdateInput | CurrencyRateUncheckedUpdateInput Yes

Output

Required: Yes
List: No

Organization

Description: * * Таблица организаций (organizations) * Хранит данные о компаниях или филиалах, использующих систему. * Каждая организация имеет собственных пользователей, клиентов, товары и финансовые операции.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор организации, пример: "b12a34c5-6d78-9e0f-1234-56789abcdef0"
name String
  • -
Yes Название организации, пример: "ООО TechWorld" или "ИП Абдурахимов М.Ю."
address String?
  • -
No Адрес организации, пример: "г. Ташкент, ул. Амира Темура, 45"
phone String?
  • @unique
No Уникальный номер телефона организации, пример: "+998901234567"
email String?
  • @unique
No Уникальный адрес электронной почты организации, пример: "info@techworld.uz"
org_users OrganizationUser[]
  • -
Yes * * Связи с другими таблицами Список пользователей, принадлежащих организации
customers OrganizationCustomer[]
  • -
Yes Список клиентов, связанных с организацией
createdAt DateTime
  • @default(now())
Yes Дата создания записи, пример: "2025-11-02T12:00:00Z"
updatedAt DateTime
  • @updatedAt
Yes Дата последнего обновления записи
products Product[]
  • -
Yes Товары, принадлежащие организации
product_prices ProductPrice[]
  • -
Yes Цены товаров в контексте организации
product_instances ProductInstance[]
  • -
Yes Конкретные экземпляры товаров (например, по серийным номерам)
kassas Kassa[]
  • -
Yes Кассы, зарегистрированные в этой организации
payments Payment[]
  • -
Yes Все платежи, проведённые организацией
transactions Transaction[]
  • -
Yes Финансовые транзакции организации
sales Sale[]
  • -
Yes Продажи, совершённые организацией
purchases Purchase[]
  • -
Yes Закупки, выполненные организацией
stocks Stock[]
  • -
Yes Складские остатки и движение товаров
kassa_transfers KassaTransfer[]
  • -
Yes Переводы между кассами организации
settings Settings?
  • -
No Настройки, уникальные для организации (например, валюта по умолчанию)
audit_logs AuditLog[]
  • -
Yes Журнал действий пользователей внутри организации
documents Document[]
  • -
Yes Документы, связанные с организацией (накладные, акты и т.д.)

Operations

findUnique

Find zero or one Organization

// Get one Organization
const organization = await prisma.organization.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where OrganizationWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first Organization

// Get one Organization
const organization = await prisma.organization.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where OrganizationWhereInput No
orderBy OrganizationOrderByWithRelationInput[] | OrganizationOrderByWithRelationInput No
cursor OrganizationWhereUniqueInput No
take Int No
skip Int No
distinct OrganizationScalarFieldEnum | OrganizationScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more Organization

// Get all Organization
const Organization = await prisma.organization.findMany()
// Get first 10 Organization
const Organization = await prisma.organization.findMany({ take: 10 })

Input

Name Type Required
where OrganizationWhereInput No
orderBy OrganizationOrderByWithRelationInput[] | OrganizationOrderByWithRelationInput No
cursor OrganizationWhereUniqueInput No
take Int No
skip Int No
distinct OrganizationScalarFieldEnum | OrganizationScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one Organization

// Create one Organization
const Organization = await prisma.organization.create({
  data: {
    // ... data to create a Organization
  }
})

Input

Name Type Required
data OrganizationCreateInput | OrganizationUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one Organization

// Delete one Organization
const Organization = await prisma.organization.delete({
  where: {
    // ... filter to delete one Organization
  }
})

Input

Name Type Required
where OrganizationWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one Organization

// Update one Organization
const organization = await prisma.organization.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data OrganizationUpdateInput | OrganizationUncheckedUpdateInput Yes
where OrganizationWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more Organization

// Delete a few Organization
const { count } = await prisma.organization.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where OrganizationWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one Organization

const { count } = await prisma.organization.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data OrganizationUpdateManyMutationInput | OrganizationUncheckedUpdateManyInput Yes
where OrganizationWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one Organization

// Update or create a Organization
const organization = await prisma.organization.upsert({
  create: {
    // ... data to create a Organization
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Organization we want to update
  }
})

Input

Name Type Required
where OrganizationWhereUniqueInput Yes
create OrganizationCreateInput | OrganizationUncheckedCreateInput Yes
update OrganizationUpdateInput | OrganizationUncheckedUpdateInput Yes

Output

Required: Yes
List: No

User

Description: * * Таблица пользователей (users) * Хранит данные о пользователях системы: логин, пароль, статус, роль и связи с организациями. * Каждый пользователь может быть сотрудником одной или нескольких организаций, совершать платежи и вести продажи.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор пользователя, пример: "d34f56a7-8b90-4e12-9cde-001122334455"
email String?
  • @unique
No Уникальный email пользователя для входа, пример: "user@example.com"
password String
  • -
Yes Хэшированный пароль пользователя, пример (не хранится в открытом виде): "$2b$10$abcd..."
isActive Boolean
  • @default(true)
Yes Статус активности пользователя: true — активен, false — заблокирован
profile UserProfile?
  • -
No Профиль пользователя с дополнительной информацией (имя, фото и т.д.)
createdAt DateTime
  • @default(now())
Yes Дата и время создания пользователя, пример: "2025-11-02T12:00:00Z"
updatedAt DateTime
  • @updatedAt
Yes Дата последнего обновления данных пользователя
role Role?
  • -
No * * Роль пользователя Роль пользователя в системе, например: администратор, кассир
roleId String?
  • -
No Идентификатор роли, пример: "a1b2c3d4-e5f6-7890-1234-56789abcdef0"
payments Payment[]
  • -
Yes Платежи, проведённые пользователем
sales Sale[]
  • -
Yes Продажи, оформленные пользователем
purchases Purchase[]
  • -
Yes Закупки, оформленные пользователем
phone_numbers UserPhone[]
  • -
Yes Дополнительные номера телефонов пользователя
audit_logs AuditLog[]
  • -
Yes Лог действий пользователя в системе (например, авторизация, редактирование данных)
documents Document[]
  • -
Yes Документы, созданные или загруженные пользователем
installment_payments InstallmentPayment[]
  • -
Yes Платежи по рассрочке, проведённые пользователем

Operations

findUnique

Find zero or one User

// Get one User
const user = await prisma.user.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserWhereUniqueInput Yes

Output

Type: User
Required: No
List: No

findFirst

Find first User

// Get one User
const user = await prisma.user.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserWhereInput No
orderBy UserOrderByWithRelationInput[] | UserOrderByWithRelationInput No
cursor UserWhereUniqueInput No
take Int No
skip Int No
distinct UserScalarFieldEnum | UserScalarFieldEnum[] No

Output

Type: User
Required: No
List: No

findMany

Find zero or more User

// Get all User
const User = await prisma.user.findMany()
// Get first 10 User
const User = await prisma.user.findMany({ take: 10 })

Input

Name Type Required
where UserWhereInput No
orderBy UserOrderByWithRelationInput[] | UserOrderByWithRelationInput No
cursor UserWhereUniqueInput No
take Int No
skip Int No
distinct UserScalarFieldEnum | UserScalarFieldEnum[] No

Output

Type: User
Required: Yes
List: Yes

create

Create one User

// Create one User
const User = await prisma.user.create({
  data: {
    // ... data to create a User
  }
})

Input

Name Type Required
data UserCreateInput | UserUncheckedCreateInput Yes

Output

Type: User
Required: Yes
List: No

delete

Delete one User

// Delete one User
const User = await prisma.user.delete({
  where: {
    // ... filter to delete one User
  }
})

Input

Name Type Required
where UserWhereUniqueInput Yes

Output

Type: User
Required: No
List: No

update

Update one User

// Update one User
const user = await prisma.user.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data UserUpdateInput | UserUncheckedUpdateInput Yes
where UserWhereUniqueInput Yes

Output

Type: User
Required: No
List: No

deleteMany

Delete zero or more User

// Delete a few User
const { count } = await prisma.user.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one User

const { count } = await prisma.user.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data UserUpdateManyMutationInput | UserUncheckedUpdateManyInput Yes
where UserWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one User

// Update or create a User
const user = await prisma.user.upsert({
  create: {
    // ... data to create a User
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the User we want to update
  }
})

Input

Name Type Required
where UserWhereUniqueInput Yes
create UserCreateInput | UserUncheckedCreateInput Yes
update UserUpdateInput | UserUncheckedUpdateInput Yes

Output

Type: User
Required: Yes
List: No

UserProfile

Description: * * Таблица профилей пользователей (user_profiles) * Хранит детальную личную информацию о пользователях — ФИО, паспортные данные, дату рождения и адрес. * Каждый профиль связан с одним пользователем из таблицы users.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор профиля, пример: "c45d67e8-9f01-4a23-8bcd-001122334455"
userId String
  • @unique
Yes Идентификатор пользователя, к которому относится профиль, пример: "d34f56a7-8b90-4e12-9cde-001122334455"
firstName String
  • -
Yes Имя пользователя, пример: "Мухаммад Юсуф"
lastName String
  • -
Yes Фамилия пользователя, пример: "Абдурахимов"
patronymic String?
  • -
No Отчество (необязательно), пример: "Юсуфович"
dateOfBirth DateTime?
  • -
No Дата рождения пользователя, пример: "2003-05-14T00:00:00Z"
gender Gender
  • @default(OTHER)
Yes Пол пользователя, пример: MALE, FEMALE, OTHER
passportSeries String?
  • -
No Серия паспорта, пример: "AA1234567"
passportNumber String?
  • -
No Номер паспорта, пример: "12345671234567"
issuedBy String?
  • -
No Орган, выдавший паспорт, пример: "ОВИР Мирободского района"
issuedDate DateTime?
  • -
No Дата выдачи паспорта, пример: "2020-06-10T00:00:00Z"
expiryDate DateTime?
  • -
No Дата окончания действия паспорта, пример: "2030-06-10T00:00:00Z"
country String?
  • -
No Страна проживания, пример: "Узбекистан"
region String?
  • -
No Область, пример: "Ташкентская область"
city String?
  • -
No Город, пример: "Ташкент"
address String?
  • -
No Адрес проживания, пример: "ул. Амира Темура, дом 45"
registration String?
  • -
No Адрес прописки, пример: "г. Ташкент, Шайхонтохурский район"
district String?
  • -
No Район (hudud), пример: "Мирзо-Улугбекский район"
user User
  • -
Yes Связь с пользователем, которому принадлежит профиль

Operations

findUnique

Find zero or one UserProfile

// Get one UserProfile
const userProfile = await prisma.userProfile.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserProfileWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first UserProfile

// Get one UserProfile
const userProfile = await prisma.userProfile.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserProfileWhereInput No
orderBy UserProfileOrderByWithRelationInput[] | UserProfileOrderByWithRelationInput No
cursor UserProfileWhereUniqueInput No
take Int No
skip Int No
distinct UserProfileScalarFieldEnum | UserProfileScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more UserProfile

// Get all UserProfile
const UserProfile = await prisma.userProfile.findMany()
// Get first 10 UserProfile
const UserProfile = await prisma.userProfile.findMany({ take: 10 })

Input

Name Type Required
where UserProfileWhereInput No
orderBy UserProfileOrderByWithRelationInput[] | UserProfileOrderByWithRelationInput No
cursor UserProfileWhereUniqueInput No
take Int No
skip Int No
distinct UserProfileScalarFieldEnum | UserProfileScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one UserProfile

// Create one UserProfile
const UserProfile = await prisma.userProfile.create({
  data: {
    // ... data to create a UserProfile
  }
})

Input

Name Type Required
data UserProfileCreateInput | UserProfileUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one UserProfile

// Delete one UserProfile
const UserProfile = await prisma.userProfile.delete({
  where: {
    // ... filter to delete one UserProfile
  }
})

Input

Name Type Required
where UserProfileWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one UserProfile

// Update one UserProfile
const userProfile = await prisma.userProfile.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data UserProfileUpdateInput | UserProfileUncheckedUpdateInput Yes
where UserProfileWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more UserProfile

// Delete a few UserProfile
const { count } = await prisma.userProfile.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserProfileWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one UserProfile

const { count } = await prisma.userProfile.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data UserProfileUpdateManyMutationInput | UserProfileUncheckedUpdateManyInput Yes
where UserProfileWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one UserProfile

// Update or create a UserProfile
const userProfile = await prisma.userProfile.upsert({
  create: {
    // ... data to create a UserProfile
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the UserProfile we want to update
  }
})

Input

Name Type Required
where UserProfileWhereUniqueInput Yes
create UserProfileCreateInput | UserProfileUncheckedCreateInput Yes
update UserProfileUpdateInput | UserProfileUncheckedUpdateInput Yes

Output

Required: Yes
List: No

Role

Description: * * Модель Role хранит роли пользователей в системе. * Используется для разграничения прав и доступа к функционалу.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор роли, пример: "a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d"
name String
  • @unique
Yes Название роли, пример: "ADMIN", "MANAGER", "CASHIER"
description String?
  • -
No Описание роли, пример: "Роль с полным доступом к системе"
users User[]
  • -
Yes Пользователи, которым назначена эта роль

Operations

findUnique

Find zero or one Role

// Get one Role
const role = await prisma.role.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where RoleWhereUniqueInput Yes

Output

Type: Role
Required: No
List: No

findFirst

Find first Role

// Get one Role
const role = await prisma.role.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where RoleWhereInput No
orderBy RoleOrderByWithRelationInput[] | RoleOrderByWithRelationInput No
cursor RoleWhereUniqueInput No
take Int No
skip Int No
distinct RoleScalarFieldEnum | RoleScalarFieldEnum[] No

Output

Type: Role
Required: No
List: No

findMany

Find zero or more Role

// Get all Role
const Role = await prisma.role.findMany()
// Get first 10 Role
const Role = await prisma.role.findMany({ take: 10 })

Input

Name Type Required
where RoleWhereInput No
orderBy RoleOrderByWithRelationInput[] | RoleOrderByWithRelationInput No
cursor RoleWhereUniqueInput No
take Int No
skip Int No
distinct RoleScalarFieldEnum | RoleScalarFieldEnum[] No

Output

Type: Role
Required: Yes
List: Yes

create

Create one Role

// Create one Role
const Role = await prisma.role.create({
  data: {
    // ... data to create a Role
  }
})

Input

Name Type Required
data RoleCreateInput | RoleUncheckedCreateInput Yes

Output

Type: Role
Required: Yes
List: No

delete

Delete one Role

// Delete one Role
const Role = await prisma.role.delete({
  where: {
    // ... filter to delete one Role
  }
})

Input

Name Type Required
where RoleWhereUniqueInput Yes

Output

Type: Role
Required: No
List: No

update

Update one Role

// Update one Role
const role = await prisma.role.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data RoleUpdateInput | RoleUncheckedUpdateInput Yes
where RoleWhereUniqueInput Yes

Output

Type: Role
Required: No
List: No

deleteMany

Delete zero or more Role

// Delete a few Role
const { count } = await prisma.role.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where RoleWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one Role

const { count } = await prisma.role.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data RoleUpdateManyMutationInput | RoleUncheckedUpdateManyInput Yes
where RoleWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one Role

// Update or create a Role
const role = await prisma.role.upsert({
  create: {
    // ... data to create a Role
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Role we want to update
  }
})

Input

Name Type Required
where RoleWhereUniqueInput Yes
create RoleCreateInput | RoleUncheckedCreateInput Yes
update RoleUpdateInput | RoleUncheckedUpdateInput Yes

Output

Type: Role
Required: Yes
List: No

UserPhone

Description: * * Таблица номеров телефонов пользователей (user_phones) * Хранит список телефонов, привязанных к пользователям. * Может содержать несколько номеров для одного пользователя (рабочий, личный и т.д.), один из которых отмечается как основной.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор записи, пример: "e56f78a9-bc01-4d23-9def-001122334455"
userId String
  • -
Yes Идентификатор пользователя, которому принадлежит номер, пример: "d34f56a7-8b90-4e12-9cde-001122334455"
phone String
  • @unique
Yes Уникальный номер телефона пользователя, пример: "+998901234567"
note String?
  • -
No Примечание к номеру, пример: "рабочий", "личный", "дополнительный"
isPrimary Boolean
  • @default(false)
Yes Отметка, является ли номер основным. Пример: true — основной, false — дополнительный
user User
  • -
Yes Связь с пользователем, которому принадлежит телефон
createdAt DateTime
  • @default(now())
Yes Дата добавления номера, пример: "2025-11-02T12:00:00Z"
updatedAt DateTime
  • @updatedAt
Yes Дата последнего обновления записи

Operations

findUnique

Find zero or one UserPhone

// Get one UserPhone
const userPhone = await prisma.userPhone.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserPhoneWhereUniqueInput Yes

Output

Type: UserPhone
Required: No
List: No

findFirst

Find first UserPhone

// Get one UserPhone
const userPhone = await prisma.userPhone.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserPhoneWhereInput No
orderBy UserPhoneOrderByWithRelationInput[] | UserPhoneOrderByWithRelationInput No
cursor UserPhoneWhereUniqueInput No
take Int No
skip Int No
distinct UserPhoneScalarFieldEnum | UserPhoneScalarFieldEnum[] No

Output

Type: UserPhone
Required: No
List: No

findMany

Find zero or more UserPhone

// Get all UserPhone
const UserPhone = await prisma.userPhone.findMany()
// Get first 10 UserPhone
const UserPhone = await prisma.userPhone.findMany({ take: 10 })

Input

Name Type Required
where UserPhoneWhereInput No
orderBy UserPhoneOrderByWithRelationInput[] | UserPhoneOrderByWithRelationInput No
cursor UserPhoneWhereUniqueInput No
take Int No
skip Int No
distinct UserPhoneScalarFieldEnum | UserPhoneScalarFieldEnum[] No

Output

Type: UserPhone
Required: Yes
List: Yes

create

Create one UserPhone

// Create one UserPhone
const UserPhone = await prisma.userPhone.create({
  data: {
    // ... data to create a UserPhone
  }
})

Input

Name Type Required
data UserPhoneCreateInput | UserPhoneUncheckedCreateInput Yes

Output

Type: UserPhone
Required: Yes
List: No

delete

Delete one UserPhone

// Delete one UserPhone
const UserPhone = await prisma.userPhone.delete({
  where: {
    // ... filter to delete one UserPhone
  }
})

Input

Name Type Required
where UserPhoneWhereUniqueInput Yes

Output

Type: UserPhone
Required: No
List: No

update

Update one UserPhone

// Update one UserPhone
const userPhone = await prisma.userPhone.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data UserPhoneUpdateInput | UserPhoneUncheckedUpdateInput Yes
where UserPhoneWhereUniqueInput Yes

Output

Type: UserPhone
Required: No
List: No

deleteMany

Delete zero or more UserPhone

// Delete a few UserPhone
const { count } = await prisma.userPhone.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserPhoneWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one UserPhone

const { count } = await prisma.userPhone.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data UserPhoneUpdateManyMutationInput | UserPhoneUncheckedUpdateManyInput Yes
where UserPhoneWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one UserPhone

// Update or create a UserPhone
const userPhone = await prisma.userPhone.upsert({
  create: {
    // ... data to create a UserPhone
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the UserPhone we want to update
  }
})

Input

Name Type Required
where UserPhoneWhereUniqueInput Yes
create UserPhoneCreateInput | UserPhoneUncheckedCreateInput Yes
update UserPhoneUpdateInput | UserPhoneUncheckedUpdateInput Yes

Output

Type: UserPhone
Required: Yes
List: No

OrganizationUser

Description: * * Таблица связей пользователей с организациями (organization_users) * Отражает, в каких организациях зарегистрирован пользователь и какую роль он там выполняет. * Используется для управления доступами, должностями и распределением ответственности.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор записи, пример: "a12b34c5-d67e-890f-1234-56789abcdef0"
organizationId String
  • -
Yes Идентификатор организации, пример: "b24c7d4a-1e2b-43a7-9c8b-123456789abc"
userId String
  • -
Yes Идентификатор пользователя, связанного с организацией, пример: "d34f56a7-8b90-4e12-9cde-001122334455"
role OrgUserRole
  • -
Yes Роль пользователя внутри организации, пример: ADMIN, MANAGER, CASHIER
position String?
  • -
No Должность или звание пользователя, пример: "Главный бухгалтер" или "Кассир"
organization Organization
  • -
Yes Связь с таблицей организаций
user User
  • -
Yes Связь с таблицей пользователей
createdAt DateTime
  • @default(now())
Yes Дата добавления связи, пример: "2025-11-02T12:00:00Z"
updatedAt DateTime
  • @updatedAt
Yes Дата последнего изменения данных связи

Operations

findUnique

Find zero or one OrganizationUser

// Get one OrganizationUser
const organizationUser = await prisma.organizationUser.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where OrganizationUserWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first OrganizationUser

// Get one OrganizationUser
const organizationUser = await prisma.organizationUser.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where OrganizationUserWhereInput No
orderBy OrganizationUserOrderByWithRelationInput[] | OrganizationUserOrderByWithRelationInput No
cursor OrganizationUserWhereUniqueInput No
take Int No
skip Int No
distinct OrganizationUserScalarFieldEnum | OrganizationUserScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more OrganizationUser

// Get all OrganizationUser
const OrganizationUser = await prisma.organizationUser.findMany()
// Get first 10 OrganizationUser
const OrganizationUser = await prisma.organizationUser.findMany({ take: 10 })

Input

Name Type Required
where OrganizationUserWhereInput No
orderBy OrganizationUserOrderByWithRelationInput[] | OrganizationUserOrderByWithRelationInput No
cursor OrganizationUserWhereUniqueInput No
take Int No
skip Int No
distinct OrganizationUserScalarFieldEnum | OrganizationUserScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one OrganizationUser

// Create one OrganizationUser
const OrganizationUser = await prisma.organizationUser.create({
  data: {
    // ... data to create a OrganizationUser
  }
})

Input

Name Type Required
data OrganizationUserCreateInput | OrganizationUserUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one OrganizationUser

// Delete one OrganizationUser
const OrganizationUser = await prisma.organizationUser.delete({
  where: {
    // ... filter to delete one OrganizationUser
  }
})

Input

Name Type Required
where OrganizationUserWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one OrganizationUser

// Update one OrganizationUser
const organizationUser = await prisma.organizationUser.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data OrganizationUserUpdateInput | OrganizationUserUncheckedUpdateInput Yes
where OrganizationUserWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more OrganizationUser

// Delete a few OrganizationUser
const { count } = await prisma.organizationUser.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where OrganizationUserWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one OrganizationUser

const { count } = await prisma.organizationUser.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data OrganizationUserUpdateManyMutationInput | OrganizationUserUncheckedUpdateManyInput Yes
where OrganizationUserWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one OrganizationUser

// Update or create a OrganizationUser
const organizationUser = await prisma.organizationUser.upsert({
  create: {
    // ... data to create a OrganizationUser
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the OrganizationUser we want to update
  }
})

Input

Name Type Required
where OrganizationUserWhereUniqueInput Yes
create OrganizationUserCreateInput | OrganizationUserUncheckedCreateInput Yes
update OrganizationUserUpdateInput | OrganizationUserUncheckedUpdateInput Yes

Output

Required: Yes
List: No

OrganizationCustomer

Description: * * Таблица клиентов организации (organization_customers) * Хранит информацию о клиентах, связанных с конкретной организацией. * Может содержать как зарегистрированных пользователей системы, так и внешних клиентов (без userId). * Используется для учёта продаж, платежей, рассрочек и взаимодействий с клиентами.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор клиента, пример: "c56d78a9-bc01-4e23-9def-001122334455"
organizationId String
  • -
Yes Идентификатор организации, к которой принадлежит клиент, пример: "b24c7d4a-1e2b-43a7-9c8b-123456789abc"
userId String?
  • -
No Идентификатор пользователя, если клиент зарегистрирован в системе, пример: "d34f56a7-8b90-4e12-9cde-001122334455"
firstName String
  • -
Yes Имя пользователя, пример: "Мухаммад Юсуф"
lastName String
  • -
Yes Фамилия пользователя, пример: "Абдурахимов"
patronymic String?
  • -
No Отчество (необязательно), пример: "Юсуфович"
phone String
  • -
Yes Контактный номер клиента, пример: "+998901112233"
type CustomerType
  • -
Yes Тип клиента: пример: CLIENT SUPPLIER
isBlacklisted Boolean
  • @default(false)
Yes Отметка, внесён ли клиент в "чёрный список". Пример: true — заблокирован, false — активен
createdAt DateTime
  • @default(now())
Yes Дата добавления связи, пример: "2025-11-02T12:00:00Z"
updatedAt DateTime
  • @updatedAt
Yes Дата последнего изменения данных связи
organization Organization
  • -
Yes * * Связи с другими таблицами Организация, к которой относится клиент
user User?
  • -
No Пользователь, если клиент зарегистрирован в системе
product_instances ProductInstance[]
  • -
Yes Список экземпляров товаров, связанных с клиентом (например, проданных устройств)
payments Payment[]
  • -
Yes Платежи, совершённые клиентом
transactions Transaction[]
  • -
Yes Финансовые операции, связанные с клиентом
sales Sale[]
  • -
Yes Продажи, проведённые клиенту
purchases Purchase[]
  • -
Yes Закупки клиента, если он также поставщик
installments Installment[]
  • -
Yes Рассрочки, оформленные клиентом
documents Document[]
  • -
Yes Документы, связанные с клиентом (договоры, акты, счета и т.д.)

Operations

findUnique

Find zero or one OrganizationCustomer

// Get one OrganizationCustomer
const organizationCustomer = await prisma.organizationCustomer.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where OrganizationCustomerWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first OrganizationCustomer

// Get one OrganizationCustomer
const organizationCustomer = await prisma.organizationCustomer.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where OrganizationCustomerWhereInput No
orderBy OrganizationCustomerOrderByWithRelationInput[] | OrganizationCustomerOrderByWithRelationInput No
cursor OrganizationCustomerWhereUniqueInput No
take Int No
skip Int No
distinct OrganizationCustomerScalarFieldEnum | OrganizationCustomerScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more OrganizationCustomer

// Get all OrganizationCustomer
const OrganizationCustomer = await prisma.organizationCustomer.findMany()
// Get first 10 OrganizationCustomer
const OrganizationCustomer = await prisma.organizationCustomer.findMany({ take: 10 })

Input

Name Type Required
where OrganizationCustomerWhereInput No
orderBy OrganizationCustomerOrderByWithRelationInput[] | OrganizationCustomerOrderByWithRelationInput No
cursor OrganizationCustomerWhereUniqueInput No
take Int No
skip Int No
distinct OrganizationCustomerScalarFieldEnum | OrganizationCustomerScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one OrganizationCustomer

// Create one OrganizationCustomer
const OrganizationCustomer = await prisma.organizationCustomer.create({
  data: {
    // ... data to create a OrganizationCustomer
  }
})

Input

Name Type Required
data OrganizationCustomerCreateInput | OrganizationCustomerUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one OrganizationCustomer

// Delete one OrganizationCustomer
const OrganizationCustomer = await prisma.organizationCustomer.delete({
  where: {
    // ... filter to delete one OrganizationCustomer
  }
})

Input

Name Type Required
where OrganizationCustomerWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one OrganizationCustomer

// Update one OrganizationCustomer
const organizationCustomer = await prisma.organizationCustomer.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data OrganizationCustomerUpdateInput | OrganizationCustomerUncheckedUpdateInput Yes
where OrganizationCustomerWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more OrganizationCustomer

// Delete a few OrganizationCustomer
const { count } = await prisma.organizationCustomer.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where OrganizationCustomerWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one OrganizationCustomer

const { count } = await prisma.organizationCustomer.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data OrganizationCustomerUpdateManyMutationInput | OrganizationCustomerUncheckedUpdateManyInput Yes
where OrganizationCustomerWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one OrganizationCustomer

// Update or create a OrganizationCustomer
const organizationCustomer = await prisma.organizationCustomer.upsert({
  create: {
    // ... data to create a OrganizationCustomer
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the OrganizationCustomer we want to update
  }
})

Input

Name Type Required
where OrganizationCustomerWhereUniqueInput Yes
create OrganizationCustomerCreateInput | OrganizationCustomerUncheckedCreateInput Yes
update OrganizationCustomerUpdateInput | OrganizationCustomerUncheckedUpdateInput Yes

Output

Required: Yes
List: No

Brand

Description: * * Таблица брендов (brands) * Хранит информацию о производителях или торговых марках товаров. * Каждый бренд может быть связан с несколькими продуктами.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор бренда, пример: "a12b34c5-d67e-890f-1234-56789abcdef0"
name String
  • @unique
Yes Уникальное название бренда, пример: "Samsung", "Apple", "Xiaomi"
products Product[]
  • -
Yes Список товаров, принадлежащих этому бренду
createdAt DateTime
  • @default(now())
Yes Дата создания записи, пример: "2025-11-02T12:00:00Z"
updatedAt DateTime
  • @updatedAt
Yes Дата последнего обновления записи

Operations

findUnique

Find zero or one Brand

// Get one Brand
const brand = await prisma.brand.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where BrandWhereUniqueInput Yes

Output

Type: Brand
Required: No
List: No

findFirst

Find first Brand

// Get one Brand
const brand = await prisma.brand.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where BrandWhereInput No
orderBy BrandOrderByWithRelationInput[] | BrandOrderByWithRelationInput No
cursor BrandWhereUniqueInput No
take Int No
skip Int No
distinct BrandScalarFieldEnum | BrandScalarFieldEnum[] No

Output

Type: Brand
Required: No
List: No

findMany

Find zero or more Brand

// Get all Brand
const Brand = await prisma.brand.findMany()
// Get first 10 Brand
const Brand = await prisma.brand.findMany({ take: 10 })

Input

Name Type Required
where BrandWhereInput No
orderBy BrandOrderByWithRelationInput[] | BrandOrderByWithRelationInput No
cursor BrandWhereUniqueInput No
take Int No
skip Int No
distinct BrandScalarFieldEnum | BrandScalarFieldEnum[] No

Output

Type: Brand
Required: Yes
List: Yes

create

Create one Brand

// Create one Brand
const Brand = await prisma.brand.create({
  data: {
    // ... data to create a Brand
  }
})

Input

Name Type Required
data BrandCreateInput | BrandUncheckedCreateInput Yes

Output

Type: Brand
Required: Yes
List: No

delete

Delete one Brand

// Delete one Brand
const Brand = await prisma.brand.delete({
  where: {
    // ... filter to delete one Brand
  }
})

Input

Name Type Required
where BrandWhereUniqueInput Yes

Output

Type: Brand
Required: No
List: No

update

Update one Brand

// Update one Brand
const brand = await prisma.brand.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data BrandUpdateInput | BrandUncheckedUpdateInput Yes
where BrandWhereUniqueInput Yes

Output

Type: Brand
Required: No
List: No

deleteMany

Delete zero or more Brand

// Delete a few Brand
const { count } = await prisma.brand.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where BrandWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one Brand

const { count } = await prisma.brand.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data BrandUpdateManyMutationInput | BrandUncheckedUpdateManyInput Yes
where BrandWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one Brand

// Update or create a Brand
const brand = await prisma.brand.upsert({
  create: {
    // ... data to create a Brand
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Brand we want to update
  }
})

Input

Name Type Required
where BrandWhereUniqueInput Yes
create BrandCreateInput | BrandUncheckedCreateInput Yes
update BrandUpdateInput | BrandUncheckedUpdateInput Yes

Output

Type: Brand
Required: Yes
List: No

ProductImage

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes -
productId String?
  • -
No -
productVariantId String?
  • -
No -
url String
  • -
Yes URL изображения (S3, CDN, локально)
alt String?
  • -
No alt-текст
isPrimary Boolean
  • @default(false)
Yes главное изображение
sortOrder Int
  • @default(0)
Yes порядок отображения
product Product?
  • -
No -
productVariant ProductVariant?
  • -
No -
createdAt DateTime
  • @default(now())
Yes -

Operations

findUnique

Find zero or one ProductImage

// Get one ProductImage
const productImage = await prisma.productImage.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductImageWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first ProductImage

// Get one ProductImage
const productImage = await prisma.productImage.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductImageWhereInput No
orderBy ProductImageOrderByWithRelationInput[] | ProductImageOrderByWithRelationInput No
cursor ProductImageWhereUniqueInput No
take Int No
skip Int No
distinct ProductImageScalarFieldEnum | ProductImageScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more ProductImage

// Get all ProductImage
const ProductImage = await prisma.productImage.findMany()
// Get first 10 ProductImage
const ProductImage = await prisma.productImage.findMany({ take: 10 })

Input

Name Type Required
where ProductImageWhereInput No
orderBy ProductImageOrderByWithRelationInput[] | ProductImageOrderByWithRelationInput No
cursor ProductImageWhereUniqueInput No
take Int No
skip Int No
distinct ProductImageScalarFieldEnum | ProductImageScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one ProductImage

// Create one ProductImage
const ProductImage = await prisma.productImage.create({
  data: {
    // ... data to create a ProductImage
  }
})

Input

Name Type Required
data ProductImageCreateInput | ProductImageUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one ProductImage

// Delete one ProductImage
const ProductImage = await prisma.productImage.delete({
  where: {
    // ... filter to delete one ProductImage
  }
})

Input

Name Type Required
where ProductImageWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one ProductImage

// Update one ProductImage
const productImage = await prisma.productImage.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductImageUpdateInput | ProductImageUncheckedUpdateInput Yes
where ProductImageWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more ProductImage

// Delete a few ProductImage
const { count } = await prisma.productImage.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductImageWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one ProductImage

const { count } = await prisma.productImage.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductImageUpdateManyMutationInput | ProductImageUncheckedUpdateManyInput Yes
where ProductImageWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one ProductImage

// Update or create a ProductImage
const productImage = await prisma.productImage.upsert({
  create: {
    // ... data to create a ProductImage
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the ProductImage we want to update
  }
})

Input

Name Type Required
where ProductImageWhereUniqueInput Yes
create ProductImageCreateInput | ProductImageUncheckedCreateInput Yes
update ProductImageUpdateInput | ProductImageUncheckedUpdateInput Yes

Output

Required: Yes
List: No

Product

Description: * * Таблица продуктов (products) — хранит информацию о товарах, принадлежащих организациям.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор товара, пример: "b123c456-d789-4ef0-9123-4567abcde890"
code String
  • @unique
Yes -
organizationId String
  • -
Yes ID организации, которой принадлежит товар
name String
  • -
Yes Название товара, пример: "iPhone 15 Pro"
description String?
  • -
No Описание товара, пример: "Смартфон с 256 ГБ памяти"
brandId String?
  • -
No ID бренда товара, если указан
organization Organization
  • -
Yes Связь с организацией, которой принадлежит товар
brand Brand?
  • -
No Связь с брендом, например "Apple" или "Samsung"
categories ProductCategory[]
  • -
Yes Категории, к которым принадлежит товар (многие-ко-многим)
prices ProductPrice[]
  • -
Yes Цены товара в разных валютах или магазинах
createdAt DateTime
  • @default(now())
Yes Дата создания записи, пример: "2025-11-02T12:00:00Z"
updatedAt DateTime
  • @updatedAt
Yes Дата последнего обновления записи
variants ProductVariant[]
  • -
Yes -
images ProductImage[]
  • -
Yes Изображения товара

Operations

findUnique

Find zero or one Product

// Get one Product
const product = await prisma.product.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductWhereUniqueInput Yes

Output

Type: Product
Required: No
List: No

findFirst

Find first Product

// Get one Product
const product = await prisma.product.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductWhereInput No
orderBy ProductOrderByWithRelationInput[] | ProductOrderByWithRelationInput No
cursor ProductWhereUniqueInput No
take Int No
skip Int No
distinct ProductScalarFieldEnum | ProductScalarFieldEnum[] No

Output

Type: Product
Required: No
List: No

findMany

Find zero or more Product

// Get all Product
const Product = await prisma.product.findMany()
// Get first 10 Product
const Product = await prisma.product.findMany({ take: 10 })

Input

Name Type Required
where ProductWhereInput No
orderBy ProductOrderByWithRelationInput[] | ProductOrderByWithRelationInput No
cursor ProductWhereUniqueInput No
take Int No
skip Int No
distinct ProductScalarFieldEnum | ProductScalarFieldEnum[] No

Output

Type: Product
Required: Yes
List: Yes

create

Create one Product

// Create one Product
const Product = await prisma.product.create({
  data: {
    // ... data to create a Product
  }
})

Input

Name Type Required
data ProductCreateInput | ProductUncheckedCreateInput Yes

Output

Type: Product
Required: Yes
List: No

delete

Delete one Product

// Delete one Product
const Product = await prisma.product.delete({
  where: {
    // ... filter to delete one Product
  }
})

Input

Name Type Required
where ProductWhereUniqueInput Yes

Output

Type: Product
Required: No
List: No

update

Update one Product

// Update one Product
const product = await prisma.product.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductUpdateInput | ProductUncheckedUpdateInput Yes
where ProductWhereUniqueInput Yes

Output

Type: Product
Required: No
List: No

deleteMany

Delete zero or more Product

// Delete a few Product
const { count } = await prisma.product.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one Product

const { count } = await prisma.product.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductUpdateManyMutationInput | ProductUncheckedUpdateManyInput Yes
where ProductWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one Product

// Update or create a Product
const product = await prisma.product.upsert({
  create: {
    // ... data to create a Product
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Product we want to update
  }
})

Input

Name Type Required
where ProductWhereUniqueInput Yes
create ProductCreateInput | ProductUncheckedCreateInput Yes
update ProductUpdateInput | ProductUncheckedUpdateInput Yes

Output

Type: Product
Required: Yes
List: No

ProductVariant

Description: * * Модель ProductVariant описывает варианты конкретного товара, * например — разные цвета, размеры или комплектации одного продукта. * Каждый вариант может иметь собственный артикул (SKU), штрихкод и цену.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор варианта товара, пример: "8a4b5c6d-7e8f-9012-3456-7890abcdef12"
productId String
  • -
Yes ID товара, к которому принадлежит данный вариант
sku String?
  • @unique
No Уникальный артикул варианта (SKU), пример: "SKU-RED-XL"
barcode String?
  • @unique
No Уникальный штрихкод товара, пример: "1234567890123"
title String
  • -
Yes Название варианта, пример: "iPhone 14 Pro 256GB Silver"
defaultPrice Decimal?
  • -
No Цена по умолчанию для этого варианта, пример: 1299.99
currencyId String?
  • -
No ID валюты, в которой указана цена
currency Currency?
  • -
No Связь с валютой
product Product
  • -
Yes Связь с основным товаром
createdAt DateTime
  • @default(now())
Yes Дата и время создания записи
updatedAt DateTime
  • @updatedAt
Yes Дата и время последнего обновления
product_instance ProductInstance[]
  • -
Yes Экземпляры (реальные единицы) данного варианта товара
product_variant_attribute ProductVariantAttribute[]
  • -
Yes Атрибуты, описывающие вариант (например, цвет, размер и т.п.)
product_batches ProductBatch[]
  • -
Yes Партии товара, например для учёта сроков годности
stocks Stock[]
  • -
Yes Остатки товара на складе
purchase_items PurchaseItem[]
  • -
Yes Закупки, связанные с этим товаром
sele_items SaleItem[]
  • -
Yes Продажи, в которых участвовал данный товар
images ProductImage[]
  • -
Yes Изображения варианта товара

Operations

findUnique

Find zero or one ProductVariant

// Get one ProductVariant
const productVariant = await prisma.productVariant.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductVariantWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first ProductVariant

// Get one ProductVariant
const productVariant = await prisma.productVariant.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductVariantWhereInput No
orderBy ProductVariantOrderByWithRelationInput[] | ProductVariantOrderByWithRelationInput No
cursor ProductVariantWhereUniqueInput No
take Int No
skip Int No
distinct ProductVariantScalarFieldEnum | ProductVariantScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more ProductVariant

// Get all ProductVariant
const ProductVariant = await prisma.productVariant.findMany()
// Get first 10 ProductVariant
const ProductVariant = await prisma.productVariant.findMany({ take: 10 })

Input

Name Type Required
where ProductVariantWhereInput No
orderBy ProductVariantOrderByWithRelationInput[] | ProductVariantOrderByWithRelationInput No
cursor ProductVariantWhereUniqueInput No
take Int No
skip Int No
distinct ProductVariantScalarFieldEnum | ProductVariantScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one ProductVariant

// Create one ProductVariant
const ProductVariant = await prisma.productVariant.create({
  data: {
    // ... data to create a ProductVariant
  }
})

Input

Name Type Required
data ProductVariantCreateInput | ProductVariantUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one ProductVariant

// Delete one ProductVariant
const ProductVariant = await prisma.productVariant.delete({
  where: {
    // ... filter to delete one ProductVariant
  }
})

Input

Name Type Required
where ProductVariantWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one ProductVariant

// Update one ProductVariant
const productVariant = await prisma.productVariant.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductVariantUpdateInput | ProductVariantUncheckedUpdateInput Yes
where ProductVariantWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more ProductVariant

// Delete a few ProductVariant
const { count } = await prisma.productVariant.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductVariantWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one ProductVariant

const { count } = await prisma.productVariant.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductVariantUpdateManyMutationInput | ProductVariantUncheckedUpdateManyInput Yes
where ProductVariantWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one ProductVariant

// Update or create a ProductVariant
const productVariant = await prisma.productVariant.upsert({
  create: {
    // ... data to create a ProductVariant
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the ProductVariant we want to update
  }
})

Input

Name Type Required
where ProductVariantWhereUniqueInput Yes
create ProductVariantCreateInput | ProductVariantUncheckedCreateInput Yes
update ProductVariantUpdateInput | ProductVariantUncheckedUpdateInput Yes

Output

Required: Yes
List: No

Attribute

Description: * * Модель Attribute описывает характеристику товара, * такую как "Цвет", "Память", "Размер" и т.д. * Каждая характеристика имеет уникальный ключ и список возможных значений.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор атрибута, пример: "7f6e5d4c-3b2a-1908-7654-3210abcdef98"
key String
  • @unique
Yes Уникальный ключ характеристики, пример: "color" или "memory"
name String
  • -
Yes Отображаемое (человеческое) название, пример: "Цвет" или "Память"
values AttributeValue[]
  • -
Yes Список возможных значений данного атрибута (например, "Красный", "128GB")

Operations

findUnique

Find zero or one Attribute

// Get one Attribute
const attribute = await prisma.attribute.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where AttributeWhereUniqueInput Yes

Output

Type: Attribute
Required: No
List: No

findFirst

Find first Attribute

// Get one Attribute
const attribute = await prisma.attribute.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where AttributeWhereInput No
orderBy AttributeOrderByWithRelationInput[] | AttributeOrderByWithRelationInput No
cursor AttributeWhereUniqueInput No
take Int No
skip Int No
distinct AttributeScalarFieldEnum | AttributeScalarFieldEnum[] No

Output

Type: Attribute
Required: No
List: No

findMany

Find zero or more Attribute

// Get all Attribute
const Attribute = await prisma.attribute.findMany()
// Get first 10 Attribute
const Attribute = await prisma.attribute.findMany({ take: 10 })

Input

Name Type Required
where AttributeWhereInput No
orderBy AttributeOrderByWithRelationInput[] | AttributeOrderByWithRelationInput No
cursor AttributeWhereUniqueInput No
take Int No
skip Int No
distinct AttributeScalarFieldEnum | AttributeScalarFieldEnum[] No

Output

Type: Attribute
Required: Yes
List: Yes

create

Create one Attribute

// Create one Attribute
const Attribute = await prisma.attribute.create({
  data: {
    // ... data to create a Attribute
  }
})

Input

Name Type Required
data AttributeCreateInput | AttributeUncheckedCreateInput Yes

Output

Type: Attribute
Required: Yes
List: No

delete

Delete one Attribute

// Delete one Attribute
const Attribute = await prisma.attribute.delete({
  where: {
    // ... filter to delete one Attribute
  }
})

Input

Name Type Required
where AttributeWhereUniqueInput Yes

Output

Type: Attribute
Required: No
List: No

update

Update one Attribute

// Update one Attribute
const attribute = await prisma.attribute.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data AttributeUpdateInput | AttributeUncheckedUpdateInput Yes
where AttributeWhereUniqueInput Yes

Output

Type: Attribute
Required: No
List: No

deleteMany

Delete zero or more Attribute

// Delete a few Attribute
const { count } = await prisma.attribute.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where AttributeWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one Attribute

const { count } = await prisma.attribute.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data AttributeUpdateManyMutationInput | AttributeUncheckedUpdateManyInput Yes
where AttributeWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one Attribute

// Update or create a Attribute
const attribute = await prisma.attribute.upsert({
  create: {
    // ... data to create a Attribute
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Attribute we want to update
  }
})

Input

Name Type Required
where AttributeWhereUniqueInput Yes
create AttributeCreateInput | AttributeUncheckedCreateInput Yes
update AttributeUpdateInput | AttributeUncheckedUpdateInput Yes

Output

Type: Attribute
Required: Yes
List: No

AttributeValue

Description: * * Модель AttributeValue описывает конкретное значение характеристики товара. * Например, для характеристики "Цвет" возможные значения — "Черный", "Белый". * Для "Память" — "32GB", "128GB" и т.д.
Name Value
@@unique
  • attributeId
  • value
@@index
  • attributeId
  • value

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор значения, пример: "9a8b7c6d-5e4f-3a2b-1c0d-123456abcdef"
attributeId String
  • -
Yes ID характеристики, к которой относится это значение
value String
  • -
Yes Конкретное значение характеристики, пример: "Black" или "128GB"
attribute Attribute
  • -
Yes Связь с моделью Attribute
product_variant_attribute ProductVariantAttribute[]
  • -
Yes Связь с моделью ProductVariantAttribute — какие варианты товаров используют это значение

Operations

findUnique

Find zero or one AttributeValue

// Get one AttributeValue
const attributeValue = await prisma.attributeValue.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where AttributeValueWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first AttributeValue

// Get one AttributeValue
const attributeValue = await prisma.attributeValue.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where AttributeValueWhereInput No
orderBy AttributeValueOrderByWithRelationInput[] | AttributeValueOrderByWithRelationInput No
cursor AttributeValueWhereUniqueInput No
take Int No
skip Int No
distinct AttributeValueScalarFieldEnum | AttributeValueScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more AttributeValue

// Get all AttributeValue
const AttributeValue = await prisma.attributeValue.findMany()
// Get first 10 AttributeValue
const AttributeValue = await prisma.attributeValue.findMany({ take: 10 })

Input

Name Type Required
where AttributeValueWhereInput No
orderBy AttributeValueOrderByWithRelationInput[] | AttributeValueOrderByWithRelationInput No
cursor AttributeValueWhereUniqueInput No
take Int No
skip Int No
distinct AttributeValueScalarFieldEnum | AttributeValueScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one AttributeValue

// Create one AttributeValue
const AttributeValue = await prisma.attributeValue.create({
  data: {
    // ... data to create a AttributeValue
  }
})

Input

Name Type Required
data AttributeValueCreateInput | AttributeValueUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one AttributeValue

// Delete one AttributeValue
const AttributeValue = await prisma.attributeValue.delete({
  where: {
    // ... filter to delete one AttributeValue
  }
})

Input

Name Type Required
where AttributeValueWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one AttributeValue

// Update one AttributeValue
const attributeValue = await prisma.attributeValue.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data AttributeValueUpdateInput | AttributeValueUncheckedUpdateInput Yes
where AttributeValueWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more AttributeValue

// Delete a few AttributeValue
const { count } = await prisma.attributeValue.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where AttributeValueWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one AttributeValue

const { count } = await prisma.attributeValue.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data AttributeValueUpdateManyMutationInput | AttributeValueUncheckedUpdateManyInput Yes
where AttributeValueWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one AttributeValue

// Update or create a AttributeValue
const attributeValue = await prisma.attributeValue.upsert({
  create: {
    // ... data to create a AttributeValue
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the AttributeValue we want to update
  }
})

Input

Name Type Required
where AttributeValueWhereUniqueInput Yes
create AttributeValueCreateInput | AttributeValueUncheckedCreateInput Yes
update AttributeValueUpdateInput | AttributeValueUncheckedUpdateInput Yes

Output

Required: Yes
List: No

ProductVariantAttribute

Description: * * Модель ProductVariantAttribute связывает вариант товара с конкретными значениями атрибутов. * Например: вариант iPhone 13 → цвет "Black" и память "128GB". * Это связь "многие-ко-многим" между ProductVariant и AttributeValue.
Name Value
@@unique
  • productVariantId
  • attributeValueId
@@index
  • productVariantId
  • attributeValueId

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор связи, пример: "f12a34b5-c678-9def-0123-456789abcdef"
productVariantId String
  • -
Yes ID варианта товара
attributeValueId String
  • -
Yes ID значения атрибута (например, "Black" или "128GB")
variant ProductVariant
  • -
Yes Связь с вариантом товара
value AttributeValue
  • -
Yes Связь с конкретным значением характеристики

Operations

findUnique

Find zero or one ProductVariantAttribute

// Get one ProductVariantAttribute
const productVariantAttribute = await prisma.productVariantAttribute.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductVariantAttributeWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first ProductVariantAttribute

// Get one ProductVariantAttribute
const productVariantAttribute = await prisma.productVariantAttribute.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductVariantAttributeWhereInput No
orderBy ProductVariantAttributeOrderByWithRelationInput[] | ProductVariantAttributeOrderByWithRelationInput No
cursor ProductVariantAttributeWhereUniqueInput No
take Int No
skip Int No
distinct ProductVariantAttributeScalarFieldEnum | ProductVariantAttributeScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more ProductVariantAttribute

// Get all ProductVariantAttribute
const ProductVariantAttribute = await prisma.productVariantAttribute.findMany()
// Get first 10 ProductVariantAttribute
const ProductVariantAttribute = await prisma.productVariantAttribute.findMany({ take: 10 })

Input

Name Type Required
where ProductVariantAttributeWhereInput No
orderBy ProductVariantAttributeOrderByWithRelationInput[] | ProductVariantAttributeOrderByWithRelationInput No
cursor ProductVariantAttributeWhereUniqueInput No
take Int No
skip Int No
distinct ProductVariantAttributeScalarFieldEnum | ProductVariantAttributeScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one ProductVariantAttribute

// Create one ProductVariantAttribute
const ProductVariantAttribute = await prisma.productVariantAttribute.create({
  data: {
    // ... data to create a ProductVariantAttribute
  }
})

Input

Name Type Required
data ProductVariantAttributeCreateInput | ProductVariantAttributeUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one ProductVariantAttribute

// Delete one ProductVariantAttribute
const ProductVariantAttribute = await prisma.productVariantAttribute.delete({
  where: {
    // ... filter to delete one ProductVariantAttribute
  }
})

Input

Name Type Required
where ProductVariantAttributeWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one ProductVariantAttribute

// Update one ProductVariantAttribute
const productVariantAttribute = await prisma.productVariantAttribute.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductVariantAttributeUpdateInput | ProductVariantAttributeUncheckedUpdateInput Yes
where ProductVariantAttributeWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more ProductVariantAttribute

// Delete a few ProductVariantAttribute
const { count } = await prisma.productVariantAttribute.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductVariantAttributeWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one ProductVariantAttribute

const { count } = await prisma.productVariantAttribute.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductVariantAttributeUpdateManyMutationInput | ProductVariantAttributeUncheckedUpdateManyInput Yes
where ProductVariantAttributeWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one ProductVariantAttribute

// Update or create a ProductVariantAttribute
const productVariantAttribute = await prisma.productVariantAttribute.upsert({
  create: {
    // ... data to create a ProductVariantAttribute
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the ProductVariantAttribute we want to update
  }
})

Input

Name Type Required
where ProductVariantAttributeWhereUniqueInput Yes
create ProductVariantAttributeCreateInput | ProductVariantAttributeUncheckedCreateInput Yes
update ProductVariantAttributeUpdateInput | ProductVariantAttributeUncheckedUpdateInput Yes

Output

Required: Yes
List: No

Category

Description: * * Таблица категорий (categories) — хранит список категорий товаров, например "Смартфоны", "Ноутбуки", "Аксессуары".

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор категории, пример: "d3b6a4f1-90c7-4e1e-9d8e-64f3b1a0a2d3"
name String
  • @unique
Yes Название категории, должно быть уникальным, пример: "Смартфоны"
products ProductCategory[]
  • -
Yes Связь многие-ко-многим с товарами через промежуточную таблицу ProductCategory
createdAt DateTime
  • @default(now())
Yes Дата создания записи, пример: "2025-11-02T12:00:00Z"
updatedAt DateTime
  • @updatedAt
Yes Дата последнего обновления записи

Operations

findUnique

Find zero or one Category

// Get one Category
const category = await prisma.category.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CategoryWhereUniqueInput Yes

Output

Type: Category
Required: No
List: No

findFirst

Find first Category

// Get one Category
const category = await prisma.category.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CategoryWhereInput No
orderBy CategoryOrderByWithRelationInput[] | CategoryOrderByWithRelationInput No
cursor CategoryWhereUniqueInput No
take Int No
skip Int No
distinct CategoryScalarFieldEnum | CategoryScalarFieldEnum[] No

Output

Type: Category
Required: No
List: No

findMany

Find zero or more Category

// Get all Category
const Category = await prisma.category.findMany()
// Get first 10 Category
const Category = await prisma.category.findMany({ take: 10 })

Input

Name Type Required
where CategoryWhereInput No
orderBy CategoryOrderByWithRelationInput[] | CategoryOrderByWithRelationInput No
cursor CategoryWhereUniqueInput No
take Int No
skip Int No
distinct CategoryScalarFieldEnum | CategoryScalarFieldEnum[] No

Output

Type: Category
Required: Yes
List: Yes

create

Create one Category

// Create one Category
const Category = await prisma.category.create({
  data: {
    // ... data to create a Category
  }
})

Input

Name Type Required
data CategoryCreateInput | CategoryUncheckedCreateInput Yes

Output

Type: Category
Required: Yes
List: No

delete

Delete one Category

// Delete one Category
const Category = await prisma.category.delete({
  where: {
    // ... filter to delete one Category
  }
})

Input

Name Type Required
where CategoryWhereUniqueInput Yes

Output

Type: Category
Required: No
List: No

update

Update one Category

// Update one Category
const category = await prisma.category.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data CategoryUpdateInput | CategoryUncheckedUpdateInput Yes
where CategoryWhereUniqueInput Yes

Output

Type: Category
Required: No
List: No

deleteMany

Delete zero or more Category

// Delete a few Category
const { count } = await prisma.category.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CategoryWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one Category

const { count } = await prisma.category.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data CategoryUpdateManyMutationInput | CategoryUncheckedUpdateManyInput Yes
where CategoryWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one Category

// Update or create a Category
const category = await prisma.category.upsert({
  create: {
    // ... data to create a Category
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Category we want to update
  }
})

Input

Name Type Required
where CategoryWhereUniqueInput Yes
create CategoryCreateInput | CategoryUncheckedCreateInput Yes
update CategoryUpdateInput | CategoryUncheckedUpdateInput Yes

Output

Type: Category
Required: Yes
List: No

ProductCategory

Description: * * Таблица связи товаров и категорий (product_categories) — связывает товары с их категориями, реализуя связь многие-ко-многим.
Name Value
@@id
  • productId
  • categoryId

Fields

Name Type Attributes Required Comment
productId String
  • -
Yes ID товара, пример: "b123c456-d789-4ef0-9123-4567abcde890"
categoryId String
  • -
Yes ID категории, пример: "d3b6a4f1-90c7-4e1e-9d8e-64f3b1a0a2d3"
product Product
  • -
Yes Связь с таблицей товаров (Product)
category Category
  • -
Yes Связь с таблицей категорий (Category)

Operations

findUnique

Find zero or one ProductCategory

// Get one ProductCategory
const productCategory = await prisma.productCategory.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductCategoryWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first ProductCategory

// Get one ProductCategory
const productCategory = await prisma.productCategory.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductCategoryWhereInput No
orderBy ProductCategoryOrderByWithRelationInput[] | ProductCategoryOrderByWithRelationInput No
cursor ProductCategoryWhereUniqueInput No
take Int No
skip Int No
distinct ProductCategoryScalarFieldEnum | ProductCategoryScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more ProductCategory

// Get all ProductCategory
const ProductCategory = await prisma.productCategory.findMany()
// Get first 10 ProductCategory
const ProductCategory = await prisma.productCategory.findMany({ take: 10 })

Input

Name Type Required
where ProductCategoryWhereInput No
orderBy ProductCategoryOrderByWithRelationInput[] | ProductCategoryOrderByWithRelationInput No
cursor ProductCategoryWhereUniqueInput No
take Int No
skip Int No
distinct ProductCategoryScalarFieldEnum | ProductCategoryScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one ProductCategory

// Create one ProductCategory
const ProductCategory = await prisma.productCategory.create({
  data: {
    // ... data to create a ProductCategory
  }
})

Input

Name Type Required
data ProductCategoryCreateInput | ProductCategoryUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one ProductCategory

// Delete one ProductCategory
const ProductCategory = await prisma.productCategory.delete({
  where: {
    // ... filter to delete one ProductCategory
  }
})

Input

Name Type Required
where ProductCategoryWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one ProductCategory

// Update one ProductCategory
const productCategory = await prisma.productCategory.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductCategoryUpdateInput | ProductCategoryUncheckedUpdateInput Yes
where ProductCategoryWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more ProductCategory

// Delete a few ProductCategory
const { count } = await prisma.productCategory.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductCategoryWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one ProductCategory

const { count } = await prisma.productCategory.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductCategoryUpdateManyMutationInput | ProductCategoryUncheckedUpdateManyInput Yes
where ProductCategoryWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one ProductCategory

// Update or create a ProductCategory
const productCategory = await prisma.productCategory.upsert({
  create: {
    // ... data to create a ProductCategory
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the ProductCategory we want to update
  }
})

Input

Name Type Required
where ProductCategoryWhereUniqueInput Yes
create ProductCategoryCreateInput | ProductCategoryUncheckedCreateInput Yes
update ProductCategoryUpdateInput | ProductCategoryUncheckedUpdateInput Yes

Output

Required: Yes
List: No

ProductPrice

Description: * * Таблица цен товаров (product_prices) — хранит информацию о стоимости товара в разных валютах, типах цен и для разных клиентов.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор цены, пример: "b123c456-d789-4ef0-9123-4567abcde890"
productId String
  • -
Yes ID товара, к которому относится данная цена
organizationId String?
  • -
No ID организации, для которой указана цена (если применимо)
priceType PriceType
  • -
Yes Тип цены: например, CASH (наличными), WHOLESALE (оптовая), INSTALLMENT (Рассрочка)
amount Decimal
  • -
Yes Сумма цены в валюте, пример: 1299.99
currencyId String
  • -
Yes ID валюты, в которой указана цена
currency Currency
  • -
Yes Связь с таблицей валют (Currency)
product Product
  • -
Yes Связь с таблицей товаров (Product)
organization Organization?
  • -
No Связь с организацией, если цена специфична для неё
customerType CustomerType?
  • -
No Тип клиента, для которого установлена цена: например, CLIENT или SUPPLIER
createdAt DateTime
  • @default(now())
Yes Дата создания записи, пример: "2025-11-02T12:00:00Z"
updatedAt DateTime
  • @updatedAt
Yes Дата последнего обновления записи

Operations

findUnique

Find zero or one ProductPrice

// Get one ProductPrice
const productPrice = await prisma.productPrice.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductPriceWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first ProductPrice

// Get one ProductPrice
const productPrice = await prisma.productPrice.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductPriceWhereInput No
orderBy ProductPriceOrderByWithRelationInput[] | ProductPriceOrderByWithRelationInput No
cursor ProductPriceWhereUniqueInput No
take Int No
skip Int No
distinct ProductPriceScalarFieldEnum | ProductPriceScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more ProductPrice

// Get all ProductPrice
const ProductPrice = await prisma.productPrice.findMany()
// Get first 10 ProductPrice
const ProductPrice = await prisma.productPrice.findMany({ take: 10 })

Input

Name Type Required
where ProductPriceWhereInput No
orderBy ProductPriceOrderByWithRelationInput[] | ProductPriceOrderByWithRelationInput No
cursor ProductPriceWhereUniqueInput No
take Int No
skip Int No
distinct ProductPriceScalarFieldEnum | ProductPriceScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one ProductPrice

// Create one ProductPrice
const ProductPrice = await prisma.productPrice.create({
  data: {
    // ... data to create a ProductPrice
  }
})

Input

Name Type Required
data ProductPriceCreateInput | ProductPriceUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one ProductPrice

// Delete one ProductPrice
const ProductPrice = await prisma.productPrice.delete({
  where: {
    // ... filter to delete one ProductPrice
  }
})

Input

Name Type Required
where ProductPriceWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one ProductPrice

// Update one ProductPrice
const productPrice = await prisma.productPrice.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductPriceUpdateInput | ProductPriceUncheckedUpdateInput Yes
where ProductPriceWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more ProductPrice

// Delete a few ProductPrice
const { count } = await prisma.productPrice.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductPriceWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one ProductPrice

const { count } = await prisma.productPrice.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductPriceUpdateManyMutationInput | ProductPriceUncheckedUpdateManyInput Yes
where ProductPriceWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one ProductPrice

// Update or create a ProductPrice
const productPrice = await prisma.productPrice.upsert({
  create: {
    // ... data to create a ProductPrice
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the ProductPrice we want to update
  }
})

Input

Name Type Required
where ProductPriceWhereUniqueInput Yes
create ProductPriceCreateInput | ProductPriceUncheckedCreateInput Yes
update ProductPriceUpdateInput | ProductPriceUncheckedUpdateInput Yes

Output

Required: Yes
List: No

ProductInstance

Description: * * Таблица экземпляров товаров (product_instances) — хранит конкретные экземпляры товаров с уникальными серийными номерами и статусами.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор экземпляра товара, пример: "f12a34b5-c678-9def-0123-456789abcdef"
productVariantId String?
  • -
No -
serialNumber String
  • @unique
Yes Уникальный серийный номер устройства, пример: "SN-ABC-123456"
currentOwnerId String?
  • -
No ID текущего владельца (клиента), если товар уже продан
currentStatus ProductStatus
  • @default(IN_STOCK)
Yes Текущий статус экземпляра: например, IN_STOCK, SOLD, RETURNED
organizationId String
  • -
Yes ID организации, которой принадлежит этот экземпляр
productVariant ProductVariant?
  • -
No -
organization Organization
  • -
Yes Связь с организацией-владельцем товара
current_owner OrganizationCustomer?
  • -
No Текущий владелец товара (клиент)
transactions ProductTransaction[]
  • -
Yes История транзакций по этому экземпляру товара
createdAt DateTime
  • @default(now())
Yes Дата создания записи, пример: "2025-11-02T12:00:00Z"
updatedAt DateTime
  • @updatedAt
Yes Дата последнего обновления записи

Operations

findUnique

Find zero or one ProductInstance

// Get one ProductInstance
const productInstance = await prisma.productInstance.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductInstanceWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first ProductInstance

// Get one ProductInstance
const productInstance = await prisma.productInstance.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductInstanceWhereInput No
orderBy ProductInstanceOrderByWithRelationInput[] | ProductInstanceOrderByWithRelationInput No
cursor ProductInstanceWhereUniqueInput No
take Int No
skip Int No
distinct ProductInstanceScalarFieldEnum | ProductInstanceScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more ProductInstance

// Get all ProductInstance
const ProductInstance = await prisma.productInstance.findMany()
// Get first 10 ProductInstance
const ProductInstance = await prisma.productInstance.findMany({ take: 10 })

Input

Name Type Required
where ProductInstanceWhereInput No
orderBy ProductInstanceOrderByWithRelationInput[] | ProductInstanceOrderByWithRelationInput No
cursor ProductInstanceWhereUniqueInput No
take Int No
skip Int No
distinct ProductInstanceScalarFieldEnum | ProductInstanceScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one ProductInstance

// Create one ProductInstance
const ProductInstance = await prisma.productInstance.create({
  data: {
    // ... data to create a ProductInstance
  }
})

Input

Name Type Required
data ProductInstanceCreateInput | ProductInstanceUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one ProductInstance

// Delete one ProductInstance
const ProductInstance = await prisma.productInstance.delete({
  where: {
    // ... filter to delete one ProductInstance
  }
})

Input

Name Type Required
where ProductInstanceWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one ProductInstance

// Update one ProductInstance
const productInstance = await prisma.productInstance.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductInstanceUpdateInput | ProductInstanceUncheckedUpdateInput Yes
where ProductInstanceWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more ProductInstance

// Delete a few ProductInstance
const { count } = await prisma.productInstance.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductInstanceWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one ProductInstance

const { count } = await prisma.productInstance.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductInstanceUpdateManyMutationInput | ProductInstanceUncheckedUpdateManyInput Yes
where ProductInstanceWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one ProductInstance

// Update or create a ProductInstance
const productInstance = await prisma.productInstance.upsert({
  create: {
    // ... data to create a ProductInstance
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the ProductInstance we want to update
  }
})

Input

Name Type Required
where ProductInstanceWhereUniqueInput Yes
create ProductInstanceCreateInput | ProductInstanceUncheckedCreateInput Yes
update ProductInstanceUpdateInput | ProductInstanceUncheckedUpdateInput Yes

Output

Required: Yes
List: No

ProductTransaction

Description: * * Таблица транзакций товаров (product_transactions) — хранит историю перемещений и действий с конкретными экземплярами товаров.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор транзакции, пример: "a12b34c5-d67e-890f-1234-56789abcdef0"
productInstanceId String
  • -
Yes ID экземпляра товара, к которому относится транзакция
fromCustomerId String?
  • -
No ID клиента, от которого поступил товар (если применимо)
toCustomerId String?
  • -
No ID клиента, которому передан товар (если применимо)
toOrganizationId String?
  • -
No ID организации, получившей товар (например, при возврате)
saleId String?
  • -
No ID продажи, если транзакция связана с продажей товара
action ProductAction
  • -
Yes Тип действия: например, SOLD, RETURNED, TRANSFERRED
date DateTime
  • @default(now())
Yes Дата и время транзакции, пример: "2025-11-02T12:00:00Z"
description String?
  • -
No Дополнительное описание или комментарий к транзакции, пример: "Возврат по гарантии"
product_instance ProductInstance
  • -
Yes Связь с экземпляром товара (ProductInstance)

Operations

findUnique

Find zero or one ProductTransaction

// Get one ProductTransaction
const productTransaction = await prisma.productTransaction.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductTransactionWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first ProductTransaction

// Get one ProductTransaction
const productTransaction = await prisma.productTransaction.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductTransactionWhereInput No
orderBy ProductTransactionOrderByWithRelationInput[] | ProductTransactionOrderByWithRelationInput No
cursor ProductTransactionWhereUniqueInput No
take Int No
skip Int No
distinct ProductTransactionScalarFieldEnum | ProductTransactionScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more ProductTransaction

// Get all ProductTransaction
const ProductTransaction = await prisma.productTransaction.findMany()
// Get first 10 ProductTransaction
const ProductTransaction = await prisma.productTransaction.findMany({ take: 10 })

Input

Name Type Required
where ProductTransactionWhereInput No
orderBy ProductTransactionOrderByWithRelationInput[] | ProductTransactionOrderByWithRelationInput No
cursor ProductTransactionWhereUniqueInput No
take Int No
skip Int No
distinct ProductTransactionScalarFieldEnum | ProductTransactionScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one ProductTransaction

// Create one ProductTransaction
const ProductTransaction = await prisma.productTransaction.create({
  data: {
    // ... data to create a ProductTransaction
  }
})

Input

Name Type Required
data ProductTransactionCreateInput | ProductTransactionUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one ProductTransaction

// Delete one ProductTransaction
const ProductTransaction = await prisma.productTransaction.delete({
  where: {
    // ... filter to delete one ProductTransaction
  }
})

Input

Name Type Required
where ProductTransactionWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one ProductTransaction

// Update one ProductTransaction
const productTransaction = await prisma.productTransaction.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductTransactionUpdateInput | ProductTransactionUncheckedUpdateInput Yes
where ProductTransactionWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more ProductTransaction

// Delete a few ProductTransaction
const { count } = await prisma.productTransaction.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductTransactionWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one ProductTransaction

const { count } = await prisma.productTransaction.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductTransactionUpdateManyMutationInput | ProductTransactionUncheckedUpdateManyInput Yes
where ProductTransactionWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one ProductTransaction

// Update or create a ProductTransaction
const productTransaction = await prisma.productTransaction.upsert({
  create: {
    // ... data to create a ProductTransaction
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the ProductTransaction we want to update
  }
})

Input

Name Type Required
where ProductTransactionWhereUniqueInput Yes
create ProductTransactionCreateInput | ProductTransactionUncheckedCreateInput Yes
update ProductTransactionUpdateInput | ProductTransactionUncheckedUpdateInput Yes

Output

Required: Yes
List: No

ProductBatch

Description: * * Таблица партий товаров (product_batches) — хранит данные о партиях поставленных или произведённых товаров, включая срок годности и количество.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор партии, пример: "a12b34c5-d67e-890f-1234-56789abcdef0"
productVariantId String
  • -
Yes ID товара, к которому относится данная партия
batchNumber String
  • -
Yes Номер партии, пример: "BATCH-2025-001"
expiryDate DateTime?
  • -
No Срок годности партии, если применимо, пример: "2026-05-30T00:00:00Z"
quantity Int
  • -
Yes Количество единиц товара в партии, пример: 500
isValid Boolean
  • @default(true)
Yes Статус активности партии: true — активна, false — просрочена или списана
createdAt DateTime
  • @default(now())
Yes Дата и время создания записи
product_variant ProductVariant
  • -
Yes -

Operations

findUnique

Find zero or one ProductBatch

// Get one ProductBatch
const productBatch = await prisma.productBatch.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductBatchWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first ProductBatch

// Get one ProductBatch
const productBatch = await prisma.productBatch.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductBatchWhereInput No
orderBy ProductBatchOrderByWithRelationInput[] | ProductBatchOrderByWithRelationInput No
cursor ProductBatchWhereUniqueInput No
take Int No
skip Int No
distinct ProductBatchScalarFieldEnum | ProductBatchScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more ProductBatch

// Get all ProductBatch
const ProductBatch = await prisma.productBatch.findMany()
// Get first 10 ProductBatch
const ProductBatch = await prisma.productBatch.findMany({ take: 10 })

Input

Name Type Required
where ProductBatchWhereInput No
orderBy ProductBatchOrderByWithRelationInput[] | ProductBatchOrderByWithRelationInput No
cursor ProductBatchWhereUniqueInput No
take Int No
skip Int No
distinct ProductBatchScalarFieldEnum | ProductBatchScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one ProductBatch

// Create one ProductBatch
const ProductBatch = await prisma.productBatch.create({
  data: {
    // ... data to create a ProductBatch
  }
})

Input

Name Type Required
data ProductBatchCreateInput | ProductBatchUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one ProductBatch

// Delete one ProductBatch
const ProductBatch = await prisma.productBatch.delete({
  where: {
    // ... filter to delete one ProductBatch
  }
})

Input

Name Type Required
where ProductBatchWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one ProductBatch

// Update one ProductBatch
const productBatch = await prisma.productBatch.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductBatchUpdateInput | ProductBatchUncheckedUpdateInput Yes
where ProductBatchWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more ProductBatch

// Delete a few ProductBatch
const { count } = await prisma.productBatch.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductBatchWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one ProductBatch

const { count } = await prisma.productBatch.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductBatchUpdateManyMutationInput | ProductBatchUncheckedUpdateManyInput Yes
where ProductBatchWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one ProductBatch

// Update or create a ProductBatch
const productBatch = await prisma.productBatch.upsert({
  create: {
    // ... data to create a ProductBatch
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the ProductBatch we want to update
  }
})

Input

Name Type Required
where ProductBatchWhereUniqueInput Yes
create ProductBatchCreateInput | ProductBatchUncheckedCreateInput Yes
update ProductBatchUpdateInput | ProductBatchUncheckedUpdateInput Yes

Output

Required: Yes
List: No

Stock

Description: * * Таблица складских остатков (stocks) — хранит информацию о количестве каждого товара на складе конкретной организации.
Name Value
@@unique
  • organizationId
  • productVariantId
@@index
  • organizationId
  • productVariantId

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор записи склада, пример: "e12f34a5-b67c-890d-1234-56789abcdef0"
organizationId String
  • -
Yes ID организации, которой принадлежит данный складской остаток
productVariantId String
  • -
Yes ID товара, который хранится на складе
quantity Int
  • @default(0)
Yes Текущее количество единиц товара на складе, пример: 150
updatedAt DateTime
  • @updatedAt
Yes Дата и время последнего обновления записи, пример: "2025-11-02T12:00:00Z"
organization Organization
  • -
Yes Связь с таблицей организаций (Organization)
product_variant ProductVariant
  • -
Yes Связь с таблицей товаров (Product)

Operations

findUnique

Find zero or one Stock

// Get one Stock
const stock = await prisma.stock.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where StockWhereUniqueInput Yes

Output

Type: Stock
Required: No
List: No

findFirst

Find first Stock

// Get one Stock
const stock = await prisma.stock.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where StockWhereInput No
orderBy StockOrderByWithRelationInput[] | StockOrderByWithRelationInput No
cursor StockWhereUniqueInput No
take Int No
skip Int No
distinct StockScalarFieldEnum | StockScalarFieldEnum[] No

Output

Type: Stock
Required: No
List: No

findMany

Find zero or more Stock

// Get all Stock
const Stock = await prisma.stock.findMany()
// Get first 10 Stock
const Stock = await prisma.stock.findMany({ take: 10 })

Input

Name Type Required
where StockWhereInput No
orderBy StockOrderByWithRelationInput[] | StockOrderByWithRelationInput No
cursor StockWhereUniqueInput No
take Int No
skip Int No
distinct StockScalarFieldEnum | StockScalarFieldEnum[] No

Output

Type: Stock
Required: Yes
List: Yes

create

Create one Stock

// Create one Stock
const Stock = await prisma.stock.create({
  data: {
    // ... data to create a Stock
  }
})

Input

Name Type Required
data StockCreateInput | StockUncheckedCreateInput Yes

Output

Type: Stock
Required: Yes
List: No

delete

Delete one Stock

// Delete one Stock
const Stock = await prisma.stock.delete({
  where: {
    // ... filter to delete one Stock
  }
})

Input

Name Type Required
where StockWhereUniqueInput Yes

Output

Type: Stock
Required: No
List: No

update

Update one Stock

// Update one Stock
const stock = await prisma.stock.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data StockUpdateInput | StockUncheckedUpdateInput Yes
where StockWhereUniqueInput Yes

Output

Type: Stock
Required: No
List: No

deleteMany

Delete zero or more Stock

// Delete a few Stock
const { count } = await prisma.stock.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where StockWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one Stock

const { count } = await prisma.stock.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data StockUpdateManyMutationInput | StockUncheckedUpdateManyInput Yes
where StockWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one Stock

// Update or create a Stock
const stock = await prisma.stock.upsert({
  create: {
    // ... data to create a Stock
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Stock we want to update
  }
})

Input

Name Type Required
where StockWhereUniqueInput Yes
create StockCreateInput | StockUncheckedCreateInput Yes
update StockUpdateInput | StockUncheckedUpdateInput Yes

Output

Type: Stock
Required: Yes
List: No

Kassa

Description: * * Модель Kassa представляет кассу организации, где хранятся денежные средства в разных валютах и типах (наличные, электронные, банковские). * Каждая касса связана с организацией, валютой и может участвовать в операциях оплат, продаж, покупок и переводов между кассами.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор кассы, пример: "b7e2b8c0-4a6f-4d73-9e4f-9f18a96f5e02"
organizationId String
  • -
Yes ID организации, к которой принадлежит касса
name String
  • -
Yes Название кассы, пример: "Наличные UZS" или "Click-платежи"
type String
  • -
Yes Тип кассы, пример: "наличные", "банк", "электронная"
currencyId String
  • -
Yes Валюта кассы, ссылается на таблицу Currency
balance Decimal
  • @default(0)
Yes Текущий баланс кассы, пример: 1520000.50
organization Organization
  • -
Yes Связь с организацией-владельцем кассы
currency Currency
  • -
Yes Связь с валютой кассы
payments Payment[]
  • -
Yes Оплаты, проведённые через эту кассу
createdAt DateTime
  • @default(now())
Yes Дата и время создания записи
updatedAt DateTime
  • @updatedAt
Yes Дата последнего обновления
purchases Purchase[]
  • -
Yes Список покупок, оплаченных через эту кассу
sales Sale[]
  • -
Yes Список продаж, связанных с этой кассой
outgoing_transfers KassaTransfer[]
  • -
Yes Переводы, отправленные из этой кассы
incoming_transfers KassaTransfer[]
  • -
Yes Переводы, полученные в эту кассу

Operations

findUnique

Find zero or one Kassa

// Get one Kassa
const kassa = await prisma.kassa.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where KassaWhereUniqueInput Yes

Output

Type: Kassa
Required: No
List: No

findFirst

Find first Kassa

// Get one Kassa
const kassa = await prisma.kassa.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where KassaWhereInput No
orderBy KassaOrderByWithRelationInput[] | KassaOrderByWithRelationInput No
cursor KassaWhereUniqueInput No
take Int No
skip Int No
distinct KassaScalarFieldEnum | KassaScalarFieldEnum[] No

Output

Type: Kassa
Required: No
List: No

findMany

Find zero or more Kassa

// Get all Kassa
const Kassa = await prisma.kassa.findMany()
// Get first 10 Kassa
const Kassa = await prisma.kassa.findMany({ take: 10 })

Input

Name Type Required
where KassaWhereInput No
orderBy KassaOrderByWithRelationInput[] | KassaOrderByWithRelationInput No
cursor KassaWhereUniqueInput No
take Int No
skip Int No
distinct KassaScalarFieldEnum | KassaScalarFieldEnum[] No

Output

Type: Kassa
Required: Yes
List: Yes

create

Create one Kassa

// Create one Kassa
const Kassa = await prisma.kassa.create({
  data: {
    // ... data to create a Kassa
  }
})

Input

Name Type Required
data KassaCreateInput | KassaUncheckedCreateInput Yes

Output

Type: Kassa
Required: Yes
List: No

delete

Delete one Kassa

// Delete one Kassa
const Kassa = await prisma.kassa.delete({
  where: {
    // ... filter to delete one Kassa
  }
})

Input

Name Type Required
where KassaWhereUniqueInput Yes

Output

Type: Kassa
Required: No
List: No

update

Update one Kassa

// Update one Kassa
const kassa = await prisma.kassa.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data KassaUpdateInput | KassaUncheckedUpdateInput Yes
where KassaWhereUniqueInput Yes

Output

Type: Kassa
Required: No
List: No

deleteMany

Delete zero or more Kassa

// Delete a few Kassa
const { count } = await prisma.kassa.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where KassaWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one Kassa

const { count } = await prisma.kassa.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data KassaUpdateManyMutationInput | KassaUncheckedUpdateManyInput Yes
where KassaWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one Kassa

// Update or create a Kassa
const kassa = await prisma.kassa.upsert({
  create: {
    // ... data to create a Kassa
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Kassa we want to update
  }
})

Input

Name Type Required
where KassaWhereUniqueInput Yes
create KassaCreateInput | KassaUncheckedCreateInput Yes
update KassaUpdateInput | KassaUncheckedUpdateInput Yes

Output

Type: Kassa
Required: Yes
List: No

KassaTransfer

Description: * * Модель KassaTransfer представляет перевод средств между двумя кассами внутри одной организации. * Она хранит информацию о кассе-источнике, кассе-получателе, используемых валютах, сумме перевода, курсе и пересчитанной сумме.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор перевода, пример: "e29b4ac3-0b92-4f6b-b56f-3a78fa2a9a3d"
organizationId String
  • -
Yes ID организации, к которой относится перевод
fromKassaId String
  • -
Yes ID кассы-источника перевода
toKassaId String
  • -
Yes ID кассы-получателя перевода
fromCurrencyId String
  • -
Yes ID валюты, из которой производится перевод
toCurrencyId String
  • -
Yes ID валюты, в которую производится перевод
rate Decimal
  • @default(1)
Yes Курс перевода, пример: 1 USD = 12500 UZS
amount Decimal
  • -
Yes Сумма перевода в валюте источника, пример: 100.00
convertedAmount Decimal
  • -
Yes Сумма после пересчёта в валюту получателя, пример: 1250000.00
description String?
  • -
No Описание или примечание к переводу, пример: "Перевод из кассы USD в кассу UZS"
createdAt DateTime
  • @default(now())
Yes Дата и время создания перевода
organization Organization
  • -
Yes Связь с организацией-владельцем
from_kassa Kassa
  • -
Yes Касса, откуда отправлены средства
to_kassa Kassa
  • -
Yes Касса, куда зачислены средства
from_currency Currency
  • -
Yes Валюта источника
to_currency Currency
  • -
Yes Валюта получателя

Operations

findUnique

Find zero or one KassaTransfer

// Get one KassaTransfer
const kassaTransfer = await prisma.kassaTransfer.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where KassaTransferWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first KassaTransfer

// Get one KassaTransfer
const kassaTransfer = await prisma.kassaTransfer.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where KassaTransferWhereInput No
orderBy KassaTransferOrderByWithRelationInput[] | KassaTransferOrderByWithRelationInput No
cursor KassaTransferWhereUniqueInput No
take Int No
skip Int No
distinct KassaTransferScalarFieldEnum | KassaTransferScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more KassaTransfer

// Get all KassaTransfer
const KassaTransfer = await prisma.kassaTransfer.findMany()
// Get first 10 KassaTransfer
const KassaTransfer = await prisma.kassaTransfer.findMany({ take: 10 })

Input

Name Type Required
where KassaTransferWhereInput No
orderBy KassaTransferOrderByWithRelationInput[] | KassaTransferOrderByWithRelationInput No
cursor KassaTransferWhereUniqueInput No
take Int No
skip Int No
distinct KassaTransferScalarFieldEnum | KassaTransferScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one KassaTransfer

// Create one KassaTransfer
const KassaTransfer = await prisma.kassaTransfer.create({
  data: {
    // ... data to create a KassaTransfer
  }
})

Input

Name Type Required
data KassaTransferCreateInput | KassaTransferUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one KassaTransfer

// Delete one KassaTransfer
const KassaTransfer = await prisma.kassaTransfer.delete({
  where: {
    // ... filter to delete one KassaTransfer
  }
})

Input

Name Type Required
where KassaTransferWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one KassaTransfer

// Update one KassaTransfer
const kassaTransfer = await prisma.kassaTransfer.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data KassaTransferUpdateInput | KassaTransferUncheckedUpdateInput Yes
where KassaTransferWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more KassaTransfer

// Delete a few KassaTransfer
const { count } = await prisma.kassaTransfer.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where KassaTransferWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one KassaTransfer

const { count } = await prisma.kassaTransfer.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data KassaTransferUpdateManyMutationInput | KassaTransferUncheckedUpdateManyInput Yes
where KassaTransferWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one KassaTransfer

// Update or create a KassaTransfer
const kassaTransfer = await prisma.kassaTransfer.upsert({
  create: {
    // ... data to create a KassaTransfer
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the KassaTransfer we want to update
  }
})

Input

Name Type Required
where KassaTransferWhereUniqueInput Yes
create KassaTransferCreateInput | KassaTransferUncheckedCreateInput Yes
update KassaTransferUpdateInput | KassaTransferUncheckedUpdateInput Yes

Output

Required: Yes
List: No

Payment

Description: * * Модель Payment хранит информацию об оплатах — будь то поступление от клиента или расход на поставщика. * Может быть связана с продажей, покупкой, клиентом, кассой и валютой.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор платежа, пример: "f6c93b1e-2e32-4b3d-9af1-02c7bfa9f7e3"
organizationId String
  • -
Yes ID организации, к которой относится платёж
userId String?
  • -
No Пользователь, который провёл оплату (например, кассир)
customerId String?
  • -
No Клиент, от которого или которому поступает платёж
kassaId String
  • -
Yes Касса, из которой произведён или в которую поступил платёж
amount Decimal
  • -
Yes Сумма платежа, пример: 500000.00
currencyId String
  • -
Yes Валюта платежа, пример: "USD", "UZS"
type PaymentType
  • -
Yes Тип платежа, пример: INCOME (поступление) или EXPENSE (расход)
description String?
  • -
No Описание платежа, пример: "Оплата по счёту №1234"
purchaseId String?
  • -
No Если это оплата за покупку — ссылка на Purchase
saleId String?
  • -
No Если это оплата за продажу — ссылка на Sale
organization Organization
  • -
Yes Связь с организацией
user User?
  • -
No Связь с пользователем, проводившим платёж
customer OrganizationCustomer?
  • -
No Связь с клиентом или поставщиком
kassa Kassa
  • -
Yes Касса, из которой или в которую проведён платёж
currency Currency
  • -
Yes Валюта, в которой произведён платёж
purchase Purchase?
  • -
No Ссылка на покупку, если есть
sale Sale?
  • -
No Ссылка на продажу, если есть
createdAt DateTime
  • @default(now())
Yes Дата и время создания записи о платеже
installment_payments InstallmentPayment[]
  • -
Yes Массив записей, если платёж разбит на части (рассрочка)

Operations

findUnique

Find zero or one Payment

// Get one Payment
const payment = await prisma.payment.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PaymentWhereUniqueInput Yes

Output

Type: Payment
Required: No
List: No

findFirst

Find first Payment

// Get one Payment
const payment = await prisma.payment.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PaymentWhereInput No
orderBy PaymentOrderByWithRelationInput[] | PaymentOrderByWithRelationInput No
cursor PaymentWhereUniqueInput No
take Int No
skip Int No
distinct PaymentScalarFieldEnum | PaymentScalarFieldEnum[] No

Output

Type: Payment
Required: No
List: No

findMany

Find zero or more Payment

// Get all Payment
const Payment = await prisma.payment.findMany()
// Get first 10 Payment
const Payment = await prisma.payment.findMany({ take: 10 })

Input

Name Type Required
where PaymentWhereInput No
orderBy PaymentOrderByWithRelationInput[] | PaymentOrderByWithRelationInput No
cursor PaymentWhereUniqueInput No
take Int No
skip Int No
distinct PaymentScalarFieldEnum | PaymentScalarFieldEnum[] No

Output

Type: Payment
Required: Yes
List: Yes

create

Create one Payment

// Create one Payment
const Payment = await prisma.payment.create({
  data: {
    // ... data to create a Payment
  }
})

Input

Name Type Required
data PaymentCreateInput | PaymentUncheckedCreateInput Yes

Output

Type: Payment
Required: Yes
List: No

delete

Delete one Payment

// Delete one Payment
const Payment = await prisma.payment.delete({
  where: {
    // ... filter to delete one Payment
  }
})

Input

Name Type Required
where PaymentWhereUniqueInput Yes

Output

Type: Payment
Required: No
List: No

update

Update one Payment

// Update one Payment
const payment = await prisma.payment.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PaymentUpdateInput | PaymentUncheckedUpdateInput Yes
where PaymentWhereUniqueInput Yes

Output

Type: Payment
Required: No
List: No

deleteMany

Delete zero or more Payment

// Delete a few Payment
const { count } = await prisma.payment.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PaymentWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one Payment

const { count } = await prisma.payment.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PaymentUpdateManyMutationInput | PaymentUncheckedUpdateManyInput Yes
where PaymentWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one Payment

// Update or create a Payment
const payment = await prisma.payment.upsert({
  create: {
    // ... data to create a Payment
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Payment we want to update
  }
})

Input

Name Type Required
where PaymentWhereUniqueInput Yes
create PaymentCreateInput | PaymentUncheckedCreateInput Yes
update PaymentUpdateInput | PaymentUncheckedUpdateInput Yes

Output

Type: Payment
Required: Yes
List: No

Transaction

Description: * * Модель Transaction отражает движение средств между организацией и клиентом. * Каждая запись фиксирует дебет, кредит и текущий баланс после операции. * Используется для истории взаиморасчётов по продажам, покупкам, оплатам и т.д.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор транзакции, пример: "a67d2c55-3e20-48df-9008-5b7f9b89a991"
organizationId String
  • -
Yes ID организации, к которой относится транзакция
customerId String
  • -
Yes ID клиента или контрагента, связанного с транзакцией
relatedType RelatedType
  • -
Yes Тип связанной операции, пример: SALE, PURCHASE, PAYMENT и т.д.
relatedId String
  • -
Yes ID связанной записи (например, продажи, покупки или платежа)
date DateTime
  • @default(now())
Yes Дата и время создания транзакции
debit Decimal
  • @default(0)
Yes Сумма, поступившая на счёт (дебет), пример: 200000.00
credit Decimal
  • @default(0)
Yes Сумма, списанная со счёта (кредит), пример: 150000.00
balanceAfter Decimal
  • -
Yes Баланс клиента после транзакции, пример: 50000.00
currencyId String
  • -
Yes ID валюты, в которой совершена операция
description String?
  • -
No Необязательное описание транзакции, пример: "Оплата по счёту №1234"
organization Organization
  • -
Yes Связь с организацией
customer OrganizationCustomer
  • -
Yes Связь с клиентом или контрагентом
currency Currency
  • -
Yes Валюта транзакции

Operations

findUnique

Find zero or one Transaction

// Get one Transaction
const transaction = await prisma.transaction.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where TransactionWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first Transaction

// Get one Transaction
const transaction = await prisma.transaction.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where TransactionWhereInput No
orderBy TransactionOrderByWithRelationInput[] | TransactionOrderByWithRelationInput No
cursor TransactionWhereUniqueInput No
take Int No
skip Int No
distinct TransactionScalarFieldEnum | TransactionScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more Transaction

// Get all Transaction
const Transaction = await prisma.transaction.findMany()
// Get first 10 Transaction
const Transaction = await prisma.transaction.findMany({ take: 10 })

Input

Name Type Required
where TransactionWhereInput No
orderBy TransactionOrderByWithRelationInput[] | TransactionOrderByWithRelationInput No
cursor TransactionWhereUniqueInput No
take Int No
skip Int No
distinct TransactionScalarFieldEnum | TransactionScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one Transaction

// Create one Transaction
const Transaction = await prisma.transaction.create({
  data: {
    // ... data to create a Transaction
  }
})

Input

Name Type Required
data TransactionCreateInput | TransactionUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one Transaction

// Delete one Transaction
const Transaction = await prisma.transaction.delete({
  where: {
    // ... filter to delete one Transaction
  }
})

Input

Name Type Required
where TransactionWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one Transaction

// Update one Transaction
const transaction = await prisma.transaction.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data TransactionUpdateInput | TransactionUncheckedUpdateInput Yes
where TransactionWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more Transaction

// Delete a few Transaction
const { count } = await prisma.transaction.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where TransactionWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one Transaction

const { count } = await prisma.transaction.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data TransactionUpdateManyMutationInput | TransactionUncheckedUpdateManyInput Yes
where TransactionWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one Transaction

// Update or create a Transaction
const transaction = await prisma.transaction.upsert({
  create: {
    // ... data to create a Transaction
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Transaction we want to update
  }
})

Input

Name Type Required
where TransactionWhereUniqueInput Yes
create TransactionCreateInput | TransactionUncheckedCreateInput Yes
update TransactionUpdateInput | TransactionUncheckedUpdateInput Yes

Output

Required: Yes
List: No

Sale

Description: * * Модель Sale описывает продажу товаров или услуг клиенту. * Содержит информацию о суммах, кассе, ответственных лицах и связанных оплатах. * Используется для учёта выручки, долга клиента и генерации счетов-фактур.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор продажи, пример: "8d5a2f7b-91e3-4e1b-9c65-ef8c9c1b6a91"
organizationId String
  • -
Yes ID организации, которая выполнила продажу
customerId String?
  • -
No ID клиента, которому продан товар
responsibleId String
  • -
Yes ID пользователя, ответственного за продажу (менеджер, кассир и т.д.)
kassaId String?
  • -
No ID кассы, из которой была произведена оплата (если применимо)
invoiceNumber String
  • -
Yes Номер счёта или накладной, пример: "INV-2025-00123"
saleDate DateTime
  • @default(now())
Yes Дата и время продажи
totalAmount Decimal
  • -
Yes Общая сумма продажи, пример: 1250000.00
paidAmount Decimal
  • @default(0)
Yes Оплаченная сумма, пример: 750000.00
currencyId String
  • -
Yes Валюта, в которой проведена продажа
status SaleStatus
  • @default(DRAFT)
Yes Статус продажи — DRAFT, COMPLETED, CANCELED и т.д.
notes String?
  • -
No Примечание к продаже, пример: "Скидка постоянному клиенту"
organization Organization
  • -
Yes Связь с организацией, где проведена продажа
customer OrganizationCustomer?
  • -
No Клиент, которому продан товар
responsible User
  • -
Yes Пользователь, оформивший продажу
currency Currency
  • -
Yes Валюта продажи
kassa Kassa?
  • -
No Касса, через которую прошла оплата
items SaleItem[]
  • -
Yes Список проданных товаров
payments Payment[]
  • -
Yes Платежи, связанные с этой продажей
createdAt DateTime
  • @default(now())
Yes Дата создания записи
updatedAt DateTime
  • @updatedAt
Yes Дата последнего обновления
installments Installment[]
  • -
Yes Рассрочки, оформленные по этой продаже
documents Document[]
  • -
Yes Документы (чеки, договоры, счета-фактуры и т.п.)

Operations

findUnique

Find zero or one Sale

// Get one Sale
const sale = await prisma.sale.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where SaleWhereUniqueInput Yes

Output

Type: Sale
Required: No
List: No

findFirst

Find first Sale

// Get one Sale
const sale = await prisma.sale.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where SaleWhereInput No
orderBy SaleOrderByWithRelationInput[] | SaleOrderByWithRelationInput No
cursor SaleWhereUniqueInput No
take Int No
skip Int No
distinct SaleScalarFieldEnum | SaleScalarFieldEnum[] No

Output

Type: Sale
Required: No
List: No

findMany

Find zero or more Sale

// Get all Sale
const Sale = await prisma.sale.findMany()
// Get first 10 Sale
const Sale = await prisma.sale.findMany({ take: 10 })

Input

Name Type Required
where SaleWhereInput No
orderBy SaleOrderByWithRelationInput[] | SaleOrderByWithRelationInput No
cursor SaleWhereUniqueInput No
take Int No
skip Int No
distinct SaleScalarFieldEnum | SaleScalarFieldEnum[] No

Output

Type: Sale
Required: Yes
List: Yes

create

Create one Sale

// Create one Sale
const Sale = await prisma.sale.create({
  data: {
    // ... data to create a Sale
  }
})

Input

Name Type Required
data SaleCreateInput | SaleUncheckedCreateInput Yes

Output

Type: Sale
Required: Yes
List: No

delete

Delete one Sale

// Delete one Sale
const Sale = await prisma.sale.delete({
  where: {
    // ... filter to delete one Sale
  }
})

Input

Name Type Required
where SaleWhereUniqueInput Yes

Output

Type: Sale
Required: No
List: No

update

Update one Sale

// Update one Sale
const sale = await prisma.sale.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data SaleUpdateInput | SaleUncheckedUpdateInput Yes
where SaleWhereUniqueInput Yes

Output

Type: Sale
Required: No
List: No

deleteMany

Delete zero or more Sale

// Delete a few Sale
const { count } = await prisma.sale.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where SaleWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one Sale

const { count } = await prisma.sale.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data SaleUpdateManyMutationInput | SaleUncheckedUpdateManyInput Yes
where SaleWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one Sale

// Update or create a Sale
const sale = await prisma.sale.upsert({
  create: {
    // ... data to create a Sale
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Sale we want to update
  }
})

Input

Name Type Required
where SaleWhereUniqueInput Yes
create SaleCreateInput | SaleUncheckedCreateInput Yes
update SaleUpdateInput | SaleUncheckedUpdateInput Yes

Output

Type: Sale
Required: Yes
List: No

SaleItem

Description: * * Модель SaleItem описывает отдельную позицию (товар или услугу) в составе продажи. * Каждая запись представляет один проданный продукт с количеством, ценой и валютой. * Используется для детализации продаж и расчёта итоговых сумм.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор позиции продажи, пример: "c71b90e2-2b15-45df-a318-ecb34a62a923"
saleId String
  • -
Yes ID продажи, к которой относится эта позиция
productVariantId String
  • -
Yes ID проданного товара
quantity Int
  • -
Yes Количество проданных единиц товара, пример: 3
price Decimal
  • -
Yes Цена за единицу товара, пример: 250000.00
total Decimal
  • -
Yes Общая сумма по этой позиции = quantity × price, пример: 750000.00
currencyId String
  • -
Yes Валюта, в которой указана цена и сумма, пример: "UZS"
sale Sale
  • -
Yes Связь с продажей, которой принадлежит товар
product_variant ProductVariant
  • -
Yes Связь с проданным товаром
currency Currency
  • -
Yes Валюта, используемая в продаже

Operations

findUnique

Find zero or one SaleItem

// Get one SaleItem
const saleItem = await prisma.saleItem.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where SaleItemWhereUniqueInput Yes

Output

Type: SaleItem
Required: No
List: No

findFirst

Find first SaleItem

// Get one SaleItem
const saleItem = await prisma.saleItem.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where SaleItemWhereInput No
orderBy SaleItemOrderByWithRelationInput[] | SaleItemOrderByWithRelationInput No
cursor SaleItemWhereUniqueInput No
take Int No
skip Int No
distinct SaleItemScalarFieldEnum | SaleItemScalarFieldEnum[] No

Output

Type: SaleItem
Required: No
List: No

findMany

Find zero or more SaleItem

// Get all SaleItem
const SaleItem = await prisma.saleItem.findMany()
// Get first 10 SaleItem
const SaleItem = await prisma.saleItem.findMany({ take: 10 })

Input

Name Type Required
where SaleItemWhereInput No
orderBy SaleItemOrderByWithRelationInput[] | SaleItemOrderByWithRelationInput No
cursor SaleItemWhereUniqueInput No
take Int No
skip Int No
distinct SaleItemScalarFieldEnum | SaleItemScalarFieldEnum[] No

Output

Type: SaleItem
Required: Yes
List: Yes

create

Create one SaleItem

// Create one SaleItem
const SaleItem = await prisma.saleItem.create({
  data: {
    // ... data to create a SaleItem
  }
})

Input

Name Type Required
data SaleItemCreateInput | SaleItemUncheckedCreateInput Yes

Output

Type: SaleItem
Required: Yes
List: No

delete

Delete one SaleItem

// Delete one SaleItem
const SaleItem = await prisma.saleItem.delete({
  where: {
    // ... filter to delete one SaleItem
  }
})

Input

Name Type Required
where SaleItemWhereUniqueInput Yes

Output

Type: SaleItem
Required: No
List: No

update

Update one SaleItem

// Update one SaleItem
const saleItem = await prisma.saleItem.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data SaleItemUpdateInput | SaleItemUncheckedUpdateInput Yes
where SaleItemWhereUniqueInput Yes

Output

Type: SaleItem
Required: No
List: No

deleteMany

Delete zero or more SaleItem

// Delete a few SaleItem
const { count } = await prisma.saleItem.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where SaleItemWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one SaleItem

const { count } = await prisma.saleItem.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data SaleItemUpdateManyMutationInput | SaleItemUncheckedUpdateManyInput Yes
where SaleItemWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one SaleItem

// Update or create a SaleItem
const saleItem = await prisma.saleItem.upsert({
  create: {
    // ... data to create a SaleItem
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the SaleItem we want to update
  }
})

Input

Name Type Required
where SaleItemWhereUniqueInput Yes
create SaleItemCreateInput | SaleItemUncheckedCreateInput Yes
update SaleItemUpdateInput | SaleItemUncheckedUpdateInput Yes

Output

Type: SaleItem
Required: Yes
List: No

Purchase

Description: * * Модель Purchase описывает закупку товаров у поставщиков. * Она хранит данные о поставщике, организации, ответственном лице, оплатах, * общей сумме, статусе закупки и связанных позициях товаров. * Используется для учёта закупок и контроля финансовых операций.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор закупки, пример: "f6e5b1a2-45cd-4e99-b9a4-92c23d91a4a5"
organizationId String
  • -
Yes ID организации, которая выполняет закупку
supplierId String
  • -
Yes ID поставщика, у которого совершается покупка
responsibleId String?
  • -
No ID пользователя, ответственного за закупку
kassaId String?
  • -
No ID кассы, из которой производится оплата (опционально)
invoiceNumber String?
  • -
No Номер накладной или счета, пример: "INV-2025-0023"
purchaseDate DateTime
  • @default(now())
Yes Дата и время закупки, пример: "2025-10-12T14:45:00Z"
totalAmount Decimal
  • -
Yes Общая сумма закупки, пример: 1250000.00
paidAmount Decimal
  • @default(0)
Yes Оплаченная сумма на данный момент, пример: 500000.00
currencyId String
  • -
Yes Валюта закупки, пример: "USD"
status PurchaseStatus
  • @default(DRAFT)
Yes Статус закупки: DRAFT, CONFIRMED, COMPLETED и т.д.
notes String?
  • -
No Дополнительные комментарии или примечания по закупке
organization Organization
  • -
Yes Связь с организацией, которая совершила закупку
supplier OrganizationCustomer
  • -
Yes Связь с поставщиком
responsible User?
  • -
No Ответственное лицо (пользователь)
currency Currency
  • -
Yes Валюта, в которой оформлена закупка
kassa Kassa?
  • -
No Касса, из которой произведена оплата
items PurchaseItem[]
  • -
Yes Список товаров, входящих в закупку
payments Payment[]
  • -
Yes Связанные оплаты по закупке
createdAt DateTime
  • @default(now())
Yes Дата создания записи о закупке
updatedAt DateTime
  • @updatedAt
Yes Дата последнего обновления записи

Operations

findUnique

Find zero or one Purchase

// Get one Purchase
const purchase = await prisma.purchase.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PurchaseWhereUniqueInput Yes

Output

Type: Purchase
Required: No
List: No

findFirst

Find first Purchase

// Get one Purchase
const purchase = await prisma.purchase.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PurchaseWhereInput No
orderBy PurchaseOrderByWithRelationInput[] | PurchaseOrderByWithRelationInput No
cursor PurchaseWhereUniqueInput No
take Int No
skip Int No
distinct PurchaseScalarFieldEnum | PurchaseScalarFieldEnum[] No

Output

Type: Purchase
Required: No
List: No

findMany

Find zero or more Purchase

// Get all Purchase
const Purchase = await prisma.purchase.findMany()
// Get first 10 Purchase
const Purchase = await prisma.purchase.findMany({ take: 10 })

Input

Name Type Required
where PurchaseWhereInput No
orderBy PurchaseOrderByWithRelationInput[] | PurchaseOrderByWithRelationInput No
cursor PurchaseWhereUniqueInput No
take Int No
skip Int No
distinct PurchaseScalarFieldEnum | PurchaseScalarFieldEnum[] No

Output

Type: Purchase
Required: Yes
List: Yes

create

Create one Purchase

// Create one Purchase
const Purchase = await prisma.purchase.create({
  data: {
    // ... data to create a Purchase
  }
})

Input

Name Type Required
data PurchaseCreateInput | PurchaseUncheckedCreateInput Yes

Output

Type: Purchase
Required: Yes
List: No

delete

Delete one Purchase

// Delete one Purchase
const Purchase = await prisma.purchase.delete({
  where: {
    // ... filter to delete one Purchase
  }
})

Input

Name Type Required
where PurchaseWhereUniqueInput Yes

Output

Type: Purchase
Required: No
List: No

update

Update one Purchase

// Update one Purchase
const purchase = await prisma.purchase.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PurchaseUpdateInput | PurchaseUncheckedUpdateInput Yes
where PurchaseWhereUniqueInput Yes

Output

Type: Purchase
Required: No
List: No

deleteMany

Delete zero or more Purchase

// Delete a few Purchase
const { count } = await prisma.purchase.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PurchaseWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one Purchase

const { count } = await prisma.purchase.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PurchaseUpdateManyMutationInput | PurchaseUncheckedUpdateManyInput Yes
where PurchaseWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one Purchase

// Update or create a Purchase
const purchase = await prisma.purchase.upsert({
  create: {
    // ... data to create a Purchase
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Purchase we want to update
  }
})

Input

Name Type Required
where PurchaseWhereUniqueInput Yes
create PurchaseCreateInput | PurchaseUncheckedCreateInput Yes
update PurchaseUpdateInput | PurchaseUncheckedUpdateInput Yes

Output

Type: Purchase
Required: Yes
List: No

PurchaseItem

Description: * * Модель PurchaseItem описывает отдельную позицию товара в рамках закупки. * Каждая запись хранит информацию о конкретном товаре, количестве, цене, скидке и итоговой сумме. * Используется для детализации закупок и расчёта общей стоимости.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор позиции закупки, пример: "c71b90e2-2b15-45df-a318-ecb34a62a923"
purchaseId String
  • -
Yes ID закупки, к которой относится эта позиция
productVariantId String
  • -
Yes ID товара, который закуплен
quantity Int
  • -
Yes Количество единиц товара, пример: 10
price Decimal
  • -
Yes Цена за единицу товара, пример: 12000.50
discount Decimal
  • @default(0)
Yes Скидка на единицу товара, пример: 500.00
total Decimal
  • -
Yes Итоговая сумма по позиции = (price - discount) * quantity, пример: 115000.00
purchase Purchase
  • -
Yes Связь с закупкой
product_variant ProductVariant
  • -
Yes Связь с закупленным товаром

Operations

findUnique

Find zero or one PurchaseItem

// Get one PurchaseItem
const purchaseItem = await prisma.purchaseItem.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PurchaseItemWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first PurchaseItem

// Get one PurchaseItem
const purchaseItem = await prisma.purchaseItem.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PurchaseItemWhereInput No
orderBy PurchaseItemOrderByWithRelationInput[] | PurchaseItemOrderByWithRelationInput No
cursor PurchaseItemWhereUniqueInput No
take Int No
skip Int No
distinct PurchaseItemScalarFieldEnum | PurchaseItemScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more PurchaseItem

// Get all PurchaseItem
const PurchaseItem = await prisma.purchaseItem.findMany()
// Get first 10 PurchaseItem
const PurchaseItem = await prisma.purchaseItem.findMany({ take: 10 })

Input

Name Type Required
where PurchaseItemWhereInput No
orderBy PurchaseItemOrderByWithRelationInput[] | PurchaseItemOrderByWithRelationInput No
cursor PurchaseItemWhereUniqueInput No
take Int No
skip Int No
distinct PurchaseItemScalarFieldEnum | PurchaseItemScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one PurchaseItem

// Create one PurchaseItem
const PurchaseItem = await prisma.purchaseItem.create({
  data: {
    // ... data to create a PurchaseItem
  }
})

Input

Name Type Required
data PurchaseItemCreateInput | PurchaseItemUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one PurchaseItem

// Delete one PurchaseItem
const PurchaseItem = await prisma.purchaseItem.delete({
  where: {
    // ... filter to delete one PurchaseItem
  }
})

Input

Name Type Required
where PurchaseItemWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one PurchaseItem

// Update one PurchaseItem
const purchaseItem = await prisma.purchaseItem.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PurchaseItemUpdateInput | PurchaseItemUncheckedUpdateInput Yes
where PurchaseItemWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more PurchaseItem

// Delete a few PurchaseItem
const { count } = await prisma.purchaseItem.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PurchaseItemWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one PurchaseItem

const { count } = await prisma.purchaseItem.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PurchaseItemUpdateManyMutationInput | PurchaseItemUncheckedUpdateManyInput Yes
where PurchaseItemWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one PurchaseItem

// Update or create a PurchaseItem
const purchaseItem = await prisma.purchaseItem.upsert({
  create: {
    // ... data to create a PurchaseItem
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the PurchaseItem we want to update
  }
})

Input

Name Type Required
where PurchaseItemWhereUniqueInput Yes
create PurchaseItemCreateInput | PurchaseItemUncheckedCreateInput Yes
update PurchaseItemUpdateInput | PurchaseItemUncheckedUpdateInput Yes

Output

Required: Yes
List: No

Installment

Description: * * Модель Installment хранит информацию о рассрочках по продажам. * Она учитывает общую сумму, первоначальный взнос, уже оплаченные суммы, остаток, срок и ежемесячные платежи. * Используется для отслеживания долгов клиентов и управления платежами по рассрочке.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор рассрочки, пример: "b1c3d4e5-6f7a-4b8c-9d0e-1f2a3b4c5d6e"
saleId String
  • -
Yes ID продажи, к которой относится рассрочка
customerId String
  • -
Yes ID клиента, которому предоставлена рассрочка
totalAmount Decimal
  • @default(0)
Yes Общая сумма рассрочки, пример: 1000.00
initialPayment Decimal
  • @default(0)
Yes Первоначальный взнос, пример: 200.00
paidAmount Decimal
  • @default(0)
Yes Сумма, уже оплаченная клиентом, пример: 300.00
remaining Decimal
  • @default(0)
Yes Остаток к оплате, пример: 700.00
totalMonths Int
  • @default(0)
Yes Изначально установленный срок рассрочки в месяцах, пример: 8
monthsLeft Int
  • @default(0)
Yes Оставшийся срок в месяцах, пересчитывается при оплатах, пример: 5
monthlyPayment Decimal
  • @default(0)
Yes Расчетный ежемесячный платеж, пример: 125.00
dueDate DateTime
  • -
Yes Крайний срок погашения рассрочки, пример: "2025-12-31T23:59:59Z"
status InstallmentStatus
  • @default(PENDING)
Yes Статус рассрочки: PENDING, PAID, OVERDUE
createdAt DateTime
  • @default(now())
Yes Дата создания записи
updatedAt DateTime
  • @updatedAt
Yes Дата последнего обновления записи
sale Sale
  • -
Yes * * relations Связь с продажей
customer OrganizationCustomer
  • -
Yes Связь с клиентом
payments InstallmentPayment[]
  • -
Yes Платежи, внесенные по этой рассрочке

Operations

findUnique

Find zero or one Installment

// Get one Installment
const installment = await prisma.installment.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where InstallmentWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first Installment

// Get one Installment
const installment = await prisma.installment.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where InstallmentWhereInput No
orderBy InstallmentOrderByWithRelationInput[] | InstallmentOrderByWithRelationInput No
cursor InstallmentWhereUniqueInput No
take Int No
skip Int No
distinct InstallmentScalarFieldEnum | InstallmentScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more Installment

// Get all Installment
const Installment = await prisma.installment.findMany()
// Get first 10 Installment
const Installment = await prisma.installment.findMany({ take: 10 })

Input

Name Type Required
where InstallmentWhereInput No
orderBy InstallmentOrderByWithRelationInput[] | InstallmentOrderByWithRelationInput No
cursor InstallmentWhereUniqueInput No
take Int No
skip Int No
distinct InstallmentScalarFieldEnum | InstallmentScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one Installment

// Create one Installment
const Installment = await prisma.installment.create({
  data: {
    // ... data to create a Installment
  }
})

Input

Name Type Required
data InstallmentCreateInput | InstallmentUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one Installment

// Delete one Installment
const Installment = await prisma.installment.delete({
  where: {
    // ... filter to delete one Installment
  }
})

Input

Name Type Required
where InstallmentWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one Installment

// Update one Installment
const installment = await prisma.installment.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data InstallmentUpdateInput | InstallmentUncheckedUpdateInput Yes
where InstallmentWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more Installment

// Delete a few Installment
const { count } = await prisma.installment.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where InstallmentWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one Installment

const { count } = await prisma.installment.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data InstallmentUpdateManyMutationInput | InstallmentUncheckedUpdateManyInput Yes
where InstallmentWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one Installment

// Update or create a Installment
const installment = await prisma.installment.upsert({
  create: {
    // ... data to create a Installment
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Installment we want to update
  }
})

Input

Name Type Required
where InstallmentWhereUniqueInput Yes
create InstallmentCreateInput | InstallmentUncheckedCreateInput Yes
update InstallmentUpdateInput | InstallmentUncheckedUpdateInput Yes

Output

Required: Yes
List: No

InstallmentPayment

Description: * * Модель InstallmentPayment хранит информацию о каждом платеже по рассрочке. * Каждая запись отражает конкретный платеж, дату, сумму, способ оплаты и комментарий. * Используется для контроля и учёта внесённых платежей по рассрочкам.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор платежа по рассрочке, пример: "d2f3e4b5-6c7a-4d8e-9f0b-1a2b3c4d5e6f"
installmentId String
  • -
Yes ID рассрочки, к которой относится платеж
amount Decimal
  • -
Yes Сумма платежа, пример: 200.00
paidAt DateTime
  • @default(now())
Yes Дата и время платежа, пример: "2025-11-02T12:00:00Z"
paymentMethod String?
  • -
No Метод оплаты: cash, click, transfer и т.д., пример: "cash"
note String?
  • -
No Комментарий к платежу, пример: "за ноябрь"
createdById String?
  • -
No ID пользователя, создавшего запись о платеже
installment Installment
  • -
Yes Связь с рассрочкой
created_by User?
  • -
No Связь с пользователем, который зарегистрировал платёж
payment Payment?
  • -
No Связь с основной записью платежа, если есть
paymentId String?
  • -
No ID платежа

Operations

findUnique

Find zero or one InstallmentPayment

// Get one InstallmentPayment
const installmentPayment = await prisma.installmentPayment.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where InstallmentPaymentWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first InstallmentPayment

// Get one InstallmentPayment
const installmentPayment = await prisma.installmentPayment.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where InstallmentPaymentWhereInput No
orderBy InstallmentPaymentOrderByWithRelationInput[] | InstallmentPaymentOrderByWithRelationInput No
cursor InstallmentPaymentWhereUniqueInput No
take Int No
skip Int No
distinct InstallmentPaymentScalarFieldEnum | InstallmentPaymentScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more InstallmentPayment

// Get all InstallmentPayment
const InstallmentPayment = await prisma.installmentPayment.findMany()
// Get first 10 InstallmentPayment
const InstallmentPayment = await prisma.installmentPayment.findMany({ take: 10 })

Input

Name Type Required
where InstallmentPaymentWhereInput No
orderBy InstallmentPaymentOrderByWithRelationInput[] | InstallmentPaymentOrderByWithRelationInput No
cursor InstallmentPaymentWhereUniqueInput No
take Int No
skip Int No
distinct InstallmentPaymentScalarFieldEnum | InstallmentPaymentScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one InstallmentPayment

// Create one InstallmentPayment
const InstallmentPayment = await prisma.installmentPayment.create({
  data: {
    // ... data to create a InstallmentPayment
  }
})

Input

Name Type Required
data InstallmentPaymentCreateInput | InstallmentPaymentUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one InstallmentPayment

// Delete one InstallmentPayment
const InstallmentPayment = await prisma.installmentPayment.delete({
  where: {
    // ... filter to delete one InstallmentPayment
  }
})

Input

Name Type Required
where InstallmentPaymentWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one InstallmentPayment

// Update one InstallmentPayment
const installmentPayment = await prisma.installmentPayment.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data InstallmentPaymentUpdateInput | InstallmentPaymentUncheckedUpdateInput Yes
where InstallmentPaymentWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more InstallmentPayment

// Delete a few InstallmentPayment
const { count } = await prisma.installmentPayment.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where InstallmentPaymentWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one InstallmentPayment

const { count } = await prisma.installmentPayment.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data InstallmentPaymentUpdateManyMutationInput | InstallmentPaymentUncheckedUpdateManyInput Yes
where InstallmentPaymentWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one InstallmentPayment

// Update or create a InstallmentPayment
const installmentPayment = await prisma.installmentPayment.upsert({
  create: {
    // ... data to create a InstallmentPayment
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the InstallmentPayment we want to update
  }
})

Input

Name Type Required
where InstallmentPaymentWhereUniqueInput Yes
create InstallmentPaymentCreateInput | InstallmentPaymentUncheckedCreateInput Yes
update InstallmentPaymentUpdateInput | InstallmentPaymentUncheckedUpdateInput Yes

Output

Required: Yes
List: No

Document

Description: * * Модель Document хранит документы, связанные с организацией, клиентом или продажей. * Используется для прикрепления файлов, таких как счета, акты, договоры и прочее.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор документа, пример: "e3f4a5b6-7c8d-4e9f-a0b1-2c3d4e5f6a7b"
organizationId String
  • -
Yes ID организации, к которой относится документ
customerId String?
  • -
No ID клиента, если документ связан с клиентом
saleId String?
  • -
No ID продажи, если документ прикреплён к продаже
type DocumentType
  • -
Yes Тип документа, пример: INVOICE, CONTRACT
fileUrl String
  • -
Yes Ссылка на файл документа, пример: "https://example.com/invoice_001.pdf"
uploadedById String?
  • -
No ID пользователя, загрузившего документ
uploadedBy User?
  • -
No Связь с пользователем, загрузившим файл
createdAt DateTime
  • @default(now())
Yes Дата загрузки документа
organization Organization
  • -
Yes Связь с организацией
customer OrganizationCustomer?
  • -
No Связь с клиентом, если есть
sale Sale?
  • -
No Связь с продажей, если есть

Operations

findUnique

Find zero or one Document

// Get one Document
const document = await prisma.document.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where DocumentWhereUniqueInput Yes

Output

Type: Document
Required: No
List: No

findFirst

Find first Document

// Get one Document
const document = await prisma.document.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where DocumentWhereInput No
orderBy DocumentOrderByWithRelationInput[] | DocumentOrderByWithRelationInput No
cursor DocumentWhereUniqueInput No
take Int No
skip Int No
distinct DocumentScalarFieldEnum | DocumentScalarFieldEnum[] No

Output

Type: Document
Required: No
List: No

findMany

Find zero or more Document

// Get all Document
const Document = await prisma.document.findMany()
// Get first 10 Document
const Document = await prisma.document.findMany({ take: 10 })

Input

Name Type Required
where DocumentWhereInput No
orderBy DocumentOrderByWithRelationInput[] | DocumentOrderByWithRelationInput No
cursor DocumentWhereUniqueInput No
take Int No
skip Int No
distinct DocumentScalarFieldEnum | DocumentScalarFieldEnum[] No

Output

Type: Document
Required: Yes
List: Yes

create

Create one Document

// Create one Document
const Document = await prisma.document.create({
  data: {
    // ... data to create a Document
  }
})

Input

Name Type Required
data DocumentCreateInput | DocumentUncheckedCreateInput Yes

Output

Type: Document
Required: Yes
List: No

delete

Delete one Document

// Delete one Document
const Document = await prisma.document.delete({
  where: {
    // ... filter to delete one Document
  }
})

Input

Name Type Required
where DocumentWhereUniqueInput Yes

Output

Type: Document
Required: No
List: No

update

Update one Document

// Update one Document
const document = await prisma.document.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data DocumentUpdateInput | DocumentUncheckedUpdateInput Yes
where DocumentWhereUniqueInput Yes

Output

Type: Document
Required: No
List: No

deleteMany

Delete zero or more Document

// Delete a few Document
const { count } = await prisma.document.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where DocumentWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one Document

const { count } = await prisma.document.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data DocumentUpdateManyMutationInput | DocumentUncheckedUpdateManyInput Yes
where DocumentWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one Document

// Update or create a Document
const document = await prisma.document.upsert({
  create: {
    // ... data to create a Document
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Document we want to update
  }
})

Input

Name Type Required
where DocumentWhereUniqueInput Yes
create DocumentCreateInput | DocumentUncheckedCreateInput Yes
update DocumentUpdateInput | DocumentUncheckedUpdateInput Yes

Output

Type: Document
Required: Yes
List: No

Settings

Description: * * Модель Settings хранит настройки организации. * Используется для управления валютой, языком, форматом даты, включением рассрочек, уведомлений, логотипом и темой.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор настроек, пример: "f1a2b3c4-5d6e-7f8a-9b0c-1d2e3f4a5b6c"
organizationId String
  • @unique
Yes ID организации, для которой применяются настройки
baseCurrencyId String
  • -
Yes ID базовой валюты организации
language String?
  • @default(ru)
No Язык интерфейса, пример: "ru" или "en"
dateFormat String?
  • @default(DD.MM.YYYY)
No Формат отображения даты
enableInstallment Boolean
  • @default(true)
Yes Включена ли возможность рассрочки при продаже
enableNotifications Boolean
  • @default(true)
Yes Включение уведомлений клиентам или пользователям
enableAutoRateUpdate Boolean
  • @default(false)
Yes Разрешить автоматическое обновление курсов валют
taxPercent Decimal?
  • @default(0)
No Общий налог, например НДС, пример: 15.0
logoUrl String?
  • -
No Ссылка на логотип организации
theme ThemeType
  • @default(LIGHT)
Yes Тема интерфейса, пример: LIGHT или DARK
organization Organization
  • -
Yes Связь с организацией
baseCurrency Currency
  • -
Yes Связь с базовой валютой
createdAt DateTime
  • @default(now())
Yes Дата создания записи
updatedAt DateTime
  • @updatedAt
Yes Дата последнего обновления записи

Operations

findUnique

Find zero or one Settings

// Get one Settings
const settings = await prisma.settings.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where SettingsWhereUniqueInput Yes

Output

Type: Settings
Required: No
List: No

findFirst

Find first Settings

// Get one Settings
const settings = await prisma.settings.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where SettingsWhereInput No
orderBy SettingsOrderByWithRelationInput[] | SettingsOrderByWithRelationInput No
cursor SettingsWhereUniqueInput No
take Int No
skip Int No
distinct SettingsScalarFieldEnum | SettingsScalarFieldEnum[] No

Output

Type: Settings
Required: No
List: No

findMany

Find zero or more Settings

// Get all Settings
const Settings = await prisma.settings.findMany()
// Get first 10 Settings
const Settings = await prisma.settings.findMany({ take: 10 })

Input

Name Type Required
where SettingsWhereInput No
orderBy SettingsOrderByWithRelationInput[] | SettingsOrderByWithRelationInput No
cursor SettingsWhereUniqueInput No
take Int No
skip Int No
distinct SettingsScalarFieldEnum | SettingsScalarFieldEnum[] No

Output

Type: Settings
Required: Yes
List: Yes

create

Create one Settings

// Create one Settings
const Settings = await prisma.settings.create({
  data: {
    // ... data to create a Settings
  }
})

Input

Name Type Required
data SettingsCreateInput | SettingsUncheckedCreateInput Yes

Output

Type: Settings
Required: Yes
List: No

delete

Delete one Settings

// Delete one Settings
const Settings = await prisma.settings.delete({
  where: {
    // ... filter to delete one Settings
  }
})

Input

Name Type Required
where SettingsWhereUniqueInput Yes

Output

Type: Settings
Required: No
List: No

update

Update one Settings

// Update one Settings
const settings = await prisma.settings.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data SettingsUpdateInput | SettingsUncheckedUpdateInput Yes
where SettingsWhereUniqueInput Yes

Output

Type: Settings
Required: No
List: No

deleteMany

Delete zero or more Settings

// Delete a few Settings
const { count } = await prisma.settings.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where SettingsWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one Settings

const { count } = await prisma.settings.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data SettingsUpdateManyMutationInput | SettingsUncheckedUpdateManyInput Yes
where SettingsWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one Settings

// Update or create a Settings
const settings = await prisma.settings.upsert({
  create: {
    // ... data to create a Settings
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Settings we want to update
  }
})

Input

Name Type Required
where SettingsWhereUniqueInput Yes
create SettingsCreateInput | SettingsUncheckedCreateInput Yes
update SettingsUpdateInput | SettingsUncheckedUpdateInput Yes

Output

Type: Settings
Required: Yes
List: No

AuditLog

Description: * * Модель AuditLog хранит историю действий пользователей в системе. * Используется для аудита и отслеживания изменений данных.

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(uuid(4))
Yes Уникальный идентификатор записи аудита, пример: "a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d"
organizationId String
  • -
Yes ID организации, где произошло действие
userId String?
  • -
No ID пользователя, который совершил действие, если известно
action String
  • -
Yes Описание действия, пример: "CREATE", "UPDATE", "DELETE"
entity String
  • -
Yes Название сущности, к которой относится действие, пример: "Product", "Sale"
entityId String?
  • -
No ID сущности, к которой относится действие
oldValue Json?
  • -
No Старое значение объекта перед изменением
newValue Json?
  • -
No Новое значение объекта после изменения
note String?
  • -
No Описание
createdAt DateTime
  • @default(now())
Yes Дата и время создания записи аудита
organization Organization
  • -
Yes Связь с организацией
user User?
  • -
No Связь с пользователем, если есть

Operations

findUnique

Find zero or one AuditLog

// Get one AuditLog
const auditLog = await prisma.auditLog.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where AuditLogWhereUniqueInput Yes

Output

Type: AuditLog
Required: No
List: No

findFirst

Find first AuditLog

// Get one AuditLog
const auditLog = await prisma.auditLog.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where AuditLogWhereInput No
orderBy AuditLogOrderByWithRelationInput[] | AuditLogOrderByWithRelationInput No
cursor AuditLogWhereUniqueInput No
take Int No
skip Int No
distinct AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[] No

Output

Type: AuditLog
Required: No
List: No

findMany

Find zero or more AuditLog

// Get all AuditLog
const AuditLog = await prisma.auditLog.findMany()
// Get first 10 AuditLog
const AuditLog = await prisma.auditLog.findMany({ take: 10 })

Input

Name Type Required
where AuditLogWhereInput No
orderBy AuditLogOrderByWithRelationInput[] | AuditLogOrderByWithRelationInput No
cursor AuditLogWhereUniqueInput No
take Int No
skip Int No
distinct AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[] No

Output

Type: AuditLog
Required: Yes
List: Yes

create

Create one AuditLog

// Create one AuditLog
const AuditLog = await prisma.auditLog.create({
  data: {
    // ... data to create a AuditLog
  }
})

Input

Name Type Required
data AuditLogCreateInput | AuditLogUncheckedCreateInput Yes

Output

Type: AuditLog
Required: Yes
List: No

delete

Delete one AuditLog

// Delete one AuditLog
const AuditLog = await prisma.auditLog.delete({
  where: {
    // ... filter to delete one AuditLog
  }
})

Input

Name Type Required
where AuditLogWhereUniqueInput Yes

Output

Type: AuditLog
Required: No
List: No

update

Update one AuditLog

// Update one AuditLog
const auditLog = await prisma.auditLog.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data AuditLogUpdateInput | AuditLogUncheckedUpdateInput Yes
where AuditLogWhereUniqueInput Yes

Output

Type: AuditLog
Required: No
List: No

deleteMany

Delete zero or more AuditLog

// Delete a few AuditLog
const { count } = await prisma.auditLog.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where AuditLogWhereInput No
limit Int No

Output

Required: Yes
List: No

updateMany

Update zero or one AuditLog

const { count } = await prisma.auditLog.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data AuditLogUpdateManyMutationInput | AuditLogUncheckedUpdateManyInput Yes
where AuditLogWhereInput No
limit Int No

Output

Required: Yes
List: No

upsert

Create or update one AuditLog

// Update or create a AuditLog
const auditLog = await prisma.auditLog.upsert({
  create: {
    // ... data to create a AuditLog
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the AuditLog we want to update
  }
})

Input

Name Type Required
where AuditLogWhereUniqueInput Yes
create AuditLogCreateInput | AuditLogUncheckedCreateInput Yes
update AuditLogUpdateInput | AuditLogUncheckedUpdateInput Yes

Output

Type: AuditLog
Required: Yes
List: No

Types

Input Types

CurrencyWhereInput

Name Type Nullable
AND CurrencyWhereInput | CurrencyWhereInput[] No
OR CurrencyWhereInput[] No
NOT CurrencyWhereInput | CurrencyWhereInput[] No
id StringFilter | String No
code StringFilter | String No
name StringFilter | String No
symbol StringFilter | String No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
product_prices ProductPriceListRelationFilter No
kassas KassaListRelationFilter No
payments PaymentListRelationFilter No
transactions TransactionListRelationFilter No
sales SaleListRelationFilter No
sale_items SaleItemListRelationFilter No
purchases PurchaseListRelationFilter No
from_transfers KassaTransferListRelationFilter No
to_transfers KassaTransferListRelationFilter No
settings SettingsListRelationFilter No
product_variant ProductVariantListRelationFilter No


CurrencyWhereUniqueInput

Name Type Nullable
id String No
code String No
AND CurrencyWhereInput | CurrencyWhereInput[] No
OR CurrencyWhereInput[] No
NOT CurrencyWhereInput | CurrencyWhereInput[] No
name StringFilter | String No
symbol StringFilter | String No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
product_prices ProductPriceListRelationFilter No
kassas KassaListRelationFilter No
payments PaymentListRelationFilter No
transactions TransactionListRelationFilter No
sales SaleListRelationFilter No
sale_items SaleItemListRelationFilter No
purchases PurchaseListRelationFilter No
from_transfers KassaTransferListRelationFilter No
to_transfers KassaTransferListRelationFilter No
settings SettingsListRelationFilter No
product_variant ProductVariantListRelationFilter No

CurrencyOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
code SortOrder No
name SortOrder No
symbol SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count CurrencyCountOrderByAggregateInput No
_max CurrencyMaxOrderByAggregateInput No
_min CurrencyMinOrderByAggregateInput No


CurrencyRateWhereInput

Name Type Nullable
AND CurrencyRateWhereInput | CurrencyRateWhereInput[] No
OR CurrencyRateWhereInput[] No
NOT CurrencyRateWhereInput | CurrencyRateWhereInput[] No
id StringFilter | String No
baseCurrency StringFilter | String No
targetCurrency StringFilter | String No
rate DecimalFilter | Decimal No
date DateTimeFilter | DateTime No

CurrencyRateOrderByWithRelationInput

Name Type Nullable
id SortOrder No
baseCurrency SortOrder No
targetCurrency SortOrder No
rate SortOrder No
date SortOrder No

CurrencyRateWhereUniqueInput

Name Type Nullable
id String No
AND CurrencyRateWhereInput | CurrencyRateWhereInput[] No
OR CurrencyRateWhereInput[] No
NOT CurrencyRateWhereInput | CurrencyRateWhereInput[] No
baseCurrency StringFilter | String No
targetCurrency StringFilter | String No
rate DecimalFilter | Decimal No
date DateTimeFilter | DateTime No

CurrencyRateOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
baseCurrency SortOrder No
targetCurrency SortOrder No
rate SortOrder No
date SortOrder No
_count CurrencyRateCountOrderByAggregateInput No
_avg CurrencyRateAvgOrderByAggregateInput No
_max CurrencyRateMaxOrderByAggregateInput No
_min CurrencyRateMinOrderByAggregateInput No
_sum CurrencyRateSumOrderByAggregateInput No


OrganizationWhereInput

Name Type Nullable
AND OrganizationWhereInput | OrganizationWhereInput[] No
OR OrganizationWhereInput[] No
NOT OrganizationWhereInput | OrganizationWhereInput[] No
id StringFilter | String No
name StringFilter | String No
address StringNullableFilter | String | Null Yes
phone StringNullableFilter | String | Null Yes
email StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
org_users OrganizationUserListRelationFilter No
customers OrganizationCustomerListRelationFilter No
products ProductListRelationFilter No
product_prices ProductPriceListRelationFilter No
product_instances ProductInstanceListRelationFilter No
kassas KassaListRelationFilter No
payments PaymentListRelationFilter No
transactions TransactionListRelationFilter No
sales SaleListRelationFilter No
purchases PurchaseListRelationFilter No
stocks StockListRelationFilter No
kassa_transfers KassaTransferListRelationFilter No
settings SettingsNullableScalarRelationFilter | SettingsWhereInput | Null Yes
audit_logs AuditLogListRelationFilter No
documents DocumentListRelationFilter No

OrganizationOrderByWithRelationInput

Name Type Nullable
id SortOrder No
name SortOrder No
address SortOrder | SortOrderInput No
phone SortOrder | SortOrderInput No
email SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
org_users OrganizationUserOrderByRelationAggregateInput No
customers OrganizationCustomerOrderByRelationAggregateInput No
products ProductOrderByRelationAggregateInput No
product_prices ProductPriceOrderByRelationAggregateInput No
product_instances ProductInstanceOrderByRelationAggregateInput No
kassas KassaOrderByRelationAggregateInput No
payments PaymentOrderByRelationAggregateInput No
transactions TransactionOrderByRelationAggregateInput No
sales SaleOrderByRelationAggregateInput No
purchases PurchaseOrderByRelationAggregateInput No
stocks StockOrderByRelationAggregateInput No
kassa_transfers KassaTransferOrderByRelationAggregateInput No
settings SettingsOrderByWithRelationInput No
audit_logs AuditLogOrderByRelationAggregateInput No
documents DocumentOrderByRelationAggregateInput No

OrganizationWhereUniqueInput

Name Type Nullable
id String No
phone String No
email String No
AND OrganizationWhereInput | OrganizationWhereInput[] No
OR OrganizationWhereInput[] No
NOT OrganizationWhereInput | OrganizationWhereInput[] No
name StringFilter | String No
address StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
org_users OrganizationUserListRelationFilter No
customers OrganizationCustomerListRelationFilter No
products ProductListRelationFilter No
product_prices ProductPriceListRelationFilter No
product_instances ProductInstanceListRelationFilter No
kassas KassaListRelationFilter No
payments PaymentListRelationFilter No
transactions TransactionListRelationFilter No
sales SaleListRelationFilter No
purchases PurchaseListRelationFilter No
stocks StockListRelationFilter No
kassa_transfers KassaTransferListRelationFilter No
settings SettingsNullableScalarRelationFilter | SettingsWhereInput | Null Yes
audit_logs AuditLogListRelationFilter No
documents DocumentListRelationFilter No

OrganizationOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
name SortOrder No
address SortOrder | SortOrderInput No
phone SortOrder | SortOrderInput No
email SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
_count OrganizationCountOrderByAggregateInput No
_max OrganizationMaxOrderByAggregateInput No
_min OrganizationMinOrderByAggregateInput No


UserWhereInput

Name Type Nullable
AND UserWhereInput | UserWhereInput[] No
OR UserWhereInput[] No
NOT UserWhereInput | UserWhereInput[] No
id StringFilter | String No
email StringNullableFilter | String | Null Yes
password StringFilter | String No
isActive BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
roleId StringNullableFilter | String | Null Yes
profile UserProfileNullableScalarRelationFilter | UserProfileWhereInput | Null Yes
role RoleNullableScalarRelationFilter | RoleWhereInput | Null Yes
org_links OrganizationUserListRelationFilter No
cutomer_links OrganizationCustomerListRelationFilter No
payments PaymentListRelationFilter No
sales SaleListRelationFilter No
purchases PurchaseListRelationFilter No
phone_numbers UserPhoneListRelationFilter No
audit_logs AuditLogListRelationFilter No
documents DocumentListRelationFilter No
installment_payments InstallmentPaymentListRelationFilter No

UserOrderByWithRelationInput

Name Type Nullable
id SortOrder No
email SortOrder | SortOrderInput No
password SortOrder No
isActive SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
roleId SortOrder | SortOrderInput No
profile UserProfileOrderByWithRelationInput No
role RoleOrderByWithRelationInput No
org_links OrganizationUserOrderByRelationAggregateInput No
cutomer_links OrganizationCustomerOrderByRelationAggregateInput No
payments PaymentOrderByRelationAggregateInput No
sales SaleOrderByRelationAggregateInput No
purchases PurchaseOrderByRelationAggregateInput No
phone_numbers UserPhoneOrderByRelationAggregateInput No
audit_logs AuditLogOrderByRelationAggregateInput No
documents DocumentOrderByRelationAggregateInput No
installment_payments InstallmentPaymentOrderByRelationAggregateInput No

UserWhereUniqueInput

Name Type Nullable
id String No
email String No
AND UserWhereInput | UserWhereInput[] No
OR UserWhereInput[] No
NOT UserWhereInput | UserWhereInput[] No
password StringFilter | String No
isActive BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
roleId StringNullableFilter | String | Null Yes
profile UserProfileNullableScalarRelationFilter | UserProfileWhereInput | Null Yes
role RoleNullableScalarRelationFilter | RoleWhereInput | Null Yes
org_links OrganizationUserListRelationFilter No
cutomer_links OrganizationCustomerListRelationFilter No
payments PaymentListRelationFilter No
sales SaleListRelationFilter No
purchases PurchaseListRelationFilter No
phone_numbers UserPhoneListRelationFilter No
audit_logs AuditLogListRelationFilter No
documents DocumentListRelationFilter No
installment_payments InstallmentPaymentListRelationFilter No

UserOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
email SortOrder | SortOrderInput No
password SortOrder No
isActive SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
roleId SortOrder | SortOrderInput No
_count UserCountOrderByAggregateInput No
_max UserMaxOrderByAggregateInput No
_min UserMinOrderByAggregateInput No


UserProfileWhereInput

Name Type Nullable
AND UserProfileWhereInput | UserProfileWhereInput[] No
OR UserProfileWhereInput[] No
NOT UserProfileWhereInput | UserProfileWhereInput[] No
id StringFilter | String No
userId StringFilter | String No
firstName StringFilter | String No
lastName StringFilter | String No
patronymic StringNullableFilter | String | Null Yes
dateOfBirth DateTimeNullableFilter | DateTime | Null Yes
gender EnumGenderFilter | Gender No
passportSeries StringNullableFilter | String | Null Yes
passportNumber StringNullableFilter | String | Null Yes
issuedBy StringNullableFilter | String | Null Yes
issuedDate DateTimeNullableFilter | DateTime | Null Yes
expiryDate DateTimeNullableFilter | DateTime | Null Yes
country StringNullableFilter | String | Null Yes
region StringNullableFilter | String | Null Yes
city StringNullableFilter | String | Null Yes
address StringNullableFilter | String | Null Yes
registration StringNullableFilter | String | Null Yes
district StringNullableFilter | String | Null Yes
user UserScalarRelationFilter | UserWhereInput No

UserProfileOrderByWithRelationInput

Name Type Nullable
id SortOrder No
userId SortOrder No
firstName SortOrder No
lastName SortOrder No
patronymic SortOrder | SortOrderInput No
dateOfBirth SortOrder | SortOrderInput No
gender SortOrder No
passportSeries SortOrder | SortOrderInput No
passportNumber SortOrder | SortOrderInput No
issuedBy SortOrder | SortOrderInput No
issuedDate SortOrder | SortOrderInput No
expiryDate SortOrder | SortOrderInput No
country SortOrder | SortOrderInput No
region SortOrder | SortOrderInput No
city SortOrder | SortOrderInput No
address SortOrder | SortOrderInput No
registration SortOrder | SortOrderInput No
district SortOrder | SortOrderInput No
user UserOrderByWithRelationInput No

UserProfileWhereUniqueInput

Name Type Nullable
id String No
userId String No
AND UserProfileWhereInput | UserProfileWhereInput[] No
OR UserProfileWhereInput[] No
NOT UserProfileWhereInput | UserProfileWhereInput[] No
firstName StringFilter | String No
lastName StringFilter | String No
patronymic StringNullableFilter | String | Null Yes
dateOfBirth DateTimeNullableFilter | DateTime | Null Yes
gender EnumGenderFilter | Gender No
passportSeries StringNullableFilter | String | Null Yes
passportNumber StringNullableFilter | String | Null Yes
issuedBy StringNullableFilter | String | Null Yes
issuedDate DateTimeNullableFilter | DateTime | Null Yes
expiryDate DateTimeNullableFilter | DateTime | Null Yes
country StringNullableFilter | String | Null Yes
region StringNullableFilter | String | Null Yes
city StringNullableFilter | String | Null Yes
address StringNullableFilter | String | Null Yes
registration StringNullableFilter | String | Null Yes
district StringNullableFilter | String | Null Yes
user UserScalarRelationFilter | UserWhereInput No

UserProfileOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
userId SortOrder No
firstName SortOrder No
lastName SortOrder No
patronymic SortOrder | SortOrderInput No
dateOfBirth SortOrder | SortOrderInput No
gender SortOrder No
passportSeries SortOrder | SortOrderInput No
passportNumber SortOrder | SortOrderInput No
issuedBy SortOrder | SortOrderInput No
issuedDate SortOrder | SortOrderInput No
expiryDate SortOrder | SortOrderInput No
country SortOrder | SortOrderInput No
region SortOrder | SortOrderInput No
city SortOrder | SortOrderInput No
address SortOrder | SortOrderInput No
registration SortOrder | SortOrderInput No
district SortOrder | SortOrderInput No
_count UserProfileCountOrderByAggregateInput No
_max UserProfileMaxOrderByAggregateInput No
_min UserProfileMinOrderByAggregateInput No

UserProfileScalarWhereWithAggregatesInput

Name Type Nullable
AND UserProfileScalarWhereWithAggregatesInput | UserProfileScalarWhereWithAggregatesInput[] No
OR UserProfileScalarWhereWithAggregatesInput[] No
NOT UserProfileScalarWhereWithAggregatesInput | UserProfileScalarWhereWithAggregatesInput[] No
id StringWithAggregatesFilter | String No
userId StringWithAggregatesFilter | String No
firstName StringWithAggregatesFilter | String No
lastName StringWithAggregatesFilter | String No
patronymic StringNullableWithAggregatesFilter | String | Null Yes
dateOfBirth DateTimeNullableWithAggregatesFilter | DateTime | Null Yes
gender EnumGenderWithAggregatesFilter | Gender No
passportSeries StringNullableWithAggregatesFilter | String | Null Yes
passportNumber StringNullableWithAggregatesFilter | String | Null Yes
issuedBy StringNullableWithAggregatesFilter | String | Null Yes
issuedDate DateTimeNullableWithAggregatesFilter | DateTime | Null Yes
expiryDate DateTimeNullableWithAggregatesFilter | DateTime | Null Yes
country StringNullableWithAggregatesFilter | String | Null Yes
region StringNullableWithAggregatesFilter | String | Null Yes
city StringNullableWithAggregatesFilter | String | Null Yes
address StringNullableWithAggregatesFilter | String | Null Yes
registration StringNullableWithAggregatesFilter | String | Null Yes
district StringNullableWithAggregatesFilter | String | Null Yes

RoleWhereInput

Name Type Nullable
AND RoleWhereInput | RoleWhereInput[] No
OR RoleWhereInput[] No
NOT RoleWhereInput | RoleWhereInput[] No
id StringFilter | String No
name StringFilter | String No
description StringNullableFilter | String | Null Yes
users UserListRelationFilter No

RoleOrderByWithRelationInput

Name Type Nullable
id SortOrder No
name SortOrder No
description SortOrder | SortOrderInput No
users UserOrderByRelationAggregateInput No

RoleWhereUniqueInput

Name Type Nullable
id String No
name String No
AND RoleWhereInput | RoleWhereInput[] No
OR RoleWhereInput[] No
NOT RoleWhereInput | RoleWhereInput[] No
description StringNullableFilter | String | Null Yes
users UserListRelationFilter No

RoleOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
name SortOrder No
description SortOrder | SortOrderInput No
_count RoleCountOrderByAggregateInput No
_max RoleMaxOrderByAggregateInput No
_min RoleMinOrderByAggregateInput No


UserPhoneWhereInput

Name Type Nullable
AND UserPhoneWhereInput | UserPhoneWhereInput[] No
OR UserPhoneWhereInput[] No
NOT UserPhoneWhereInput | UserPhoneWhereInput[] No
id StringFilter | String No
userId StringFilter | String No
phone StringFilter | String No
note StringNullableFilter | String | Null Yes
isPrimary BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
user UserScalarRelationFilter | UserWhereInput No

UserPhoneOrderByWithRelationInput

Name Type Nullable
id SortOrder No
userId SortOrder No
phone SortOrder No
note SortOrder | SortOrderInput No
isPrimary SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
user UserOrderByWithRelationInput No

UserPhoneWhereUniqueInput

Name Type Nullable
id String No
phone String No
AND UserPhoneWhereInput | UserPhoneWhereInput[] No
OR UserPhoneWhereInput[] No
NOT UserPhoneWhereInput | UserPhoneWhereInput[] No
userId StringFilter | String No
note StringNullableFilter | String | Null Yes
isPrimary BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
user UserScalarRelationFilter | UserWhereInput No

UserPhoneOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
userId SortOrder No
phone SortOrder No
note SortOrder | SortOrderInput No
isPrimary SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count UserPhoneCountOrderByAggregateInput No
_max UserPhoneMaxOrderByAggregateInput No
_min UserPhoneMinOrderByAggregateInput No


OrganizationUserWhereInput

Name Type Nullable
AND OrganizationUserWhereInput | OrganizationUserWhereInput[] No
OR OrganizationUserWhereInput[] No
NOT OrganizationUserWhereInput | OrganizationUserWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
userId StringFilter | String No
role EnumOrgUserRoleFilter | OrgUserRole No
position StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
user UserScalarRelationFilter | UserWhereInput No

OrganizationUserOrderByWithRelationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder No
role SortOrder No
position SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
organization OrganizationOrderByWithRelationInput No
user UserOrderByWithRelationInput No

OrganizationUserWhereUniqueInput

Name Type Nullable
id String No
AND OrganizationUserWhereInput | OrganizationUserWhereInput[] No
OR OrganizationUserWhereInput[] No
NOT OrganizationUserWhereInput | OrganizationUserWhereInput[] No
organizationId StringFilter | String No
userId StringFilter | String No
role EnumOrgUserRoleFilter | OrgUserRole No
position StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
user UserScalarRelationFilter | UserWhereInput No

OrganizationUserOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder No
role SortOrder No
position SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
_count OrganizationUserCountOrderByAggregateInput No
_max OrganizationUserMaxOrderByAggregateInput No
_min OrganizationUserMinOrderByAggregateInput No


OrganizationCustomerWhereInput

Name Type Nullable
AND OrganizationCustomerWhereInput | OrganizationCustomerWhereInput[] No
OR OrganizationCustomerWhereInput[] No
NOT OrganizationCustomerWhereInput | OrganizationCustomerWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
userId StringNullableFilter | String | Null Yes
firstName StringFilter | String No
lastName StringFilter | String No
patronymic StringNullableFilter | String | Null Yes
phone StringFilter | String No
type EnumCustomerTypeFilter | CustomerType No
isBlacklisted BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
user UserNullableScalarRelationFilter | UserWhereInput | Null Yes
product_instances ProductInstanceListRelationFilter No
payments PaymentListRelationFilter No
transactions TransactionListRelationFilter No
sales SaleListRelationFilter No
purchases PurchaseListRelationFilter No
installments InstallmentListRelationFilter No
documents DocumentListRelationFilter No

OrganizationCustomerOrderByWithRelationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder | SortOrderInput No
firstName SortOrder No
lastName SortOrder No
patronymic SortOrder | SortOrderInput No
phone SortOrder No
type SortOrder No
isBlacklisted SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
organization OrganizationOrderByWithRelationInput No
user UserOrderByWithRelationInput No
product_instances ProductInstanceOrderByRelationAggregateInput No
payments PaymentOrderByRelationAggregateInput No
transactions TransactionOrderByRelationAggregateInput No
sales SaleOrderByRelationAggregateInput No
purchases PurchaseOrderByRelationAggregateInput No
installments InstallmentOrderByRelationAggregateInput No
documents DocumentOrderByRelationAggregateInput No

OrganizationCustomerWhereUniqueInput

Name Type Nullable
id String No
AND OrganizationCustomerWhereInput | OrganizationCustomerWhereInput[] No
OR OrganizationCustomerWhereInput[] No
NOT OrganizationCustomerWhereInput | OrganizationCustomerWhereInput[] No
organizationId StringFilter | String No
userId StringNullableFilter | String | Null Yes
firstName StringFilter | String No
lastName StringFilter | String No
patronymic StringNullableFilter | String | Null Yes
phone StringFilter | String No
type EnumCustomerTypeFilter | CustomerType No
isBlacklisted BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
user UserNullableScalarRelationFilter | UserWhereInput | Null Yes
product_instances ProductInstanceListRelationFilter No
payments PaymentListRelationFilter No
transactions TransactionListRelationFilter No
sales SaleListRelationFilter No
purchases PurchaseListRelationFilter No
installments InstallmentListRelationFilter No
documents DocumentListRelationFilter No

OrganizationCustomerOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder | SortOrderInput No
firstName SortOrder No
lastName SortOrder No
patronymic SortOrder | SortOrderInput No
phone SortOrder No
type SortOrder No
isBlacklisted SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count OrganizationCustomerCountOrderByAggregateInput No
_max OrganizationCustomerMaxOrderByAggregateInput No
_min OrganizationCustomerMinOrderByAggregateInput No

OrganizationCustomerScalarWhereWithAggregatesInput

Name Type Nullable
AND OrganizationCustomerScalarWhereWithAggregatesInput | OrganizationCustomerScalarWhereWithAggregatesInput[] No
OR OrganizationCustomerScalarWhereWithAggregatesInput[] No
NOT OrganizationCustomerScalarWhereWithAggregatesInput | OrganizationCustomerScalarWhereWithAggregatesInput[] No
id StringWithAggregatesFilter | String No
organizationId StringWithAggregatesFilter | String No
userId StringNullableWithAggregatesFilter | String | Null Yes
firstName StringWithAggregatesFilter | String No
lastName StringWithAggregatesFilter | String No
patronymic StringNullableWithAggregatesFilter | String | Null Yes
phone StringWithAggregatesFilter | String No
type EnumCustomerTypeWithAggregatesFilter | CustomerType No
isBlacklisted BoolWithAggregatesFilter | Boolean No
createdAt DateTimeWithAggregatesFilter | DateTime No
updatedAt DateTimeWithAggregatesFilter | DateTime No

BrandWhereInput

Name Type Nullable
AND BrandWhereInput | BrandWhereInput[] No
OR BrandWhereInput[] No
NOT BrandWhereInput | BrandWhereInput[] No
id StringFilter | String No
name StringFilter | String No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
products ProductListRelationFilter No

BrandOrderByWithRelationInput

Name Type Nullable
id SortOrder No
name SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
products ProductOrderByRelationAggregateInput No

BrandWhereUniqueInput

Name Type Nullable
id String No
name String No
AND BrandWhereInput | BrandWhereInput[] No
OR BrandWhereInput[] No
NOT BrandWhereInput | BrandWhereInput[] No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
products ProductListRelationFilter No

BrandOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
name SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count BrandCountOrderByAggregateInput No
_max BrandMaxOrderByAggregateInput No
_min BrandMinOrderByAggregateInput No


ProductImageWhereInput

Name Type Nullable
AND ProductImageWhereInput | ProductImageWhereInput[] No
OR ProductImageWhereInput[] No
NOT ProductImageWhereInput | ProductImageWhereInput[] No
id StringFilter | String No
productId StringNullableFilter | String | Null Yes
productVariantId StringNullableFilter | String | Null Yes
url StringFilter | String No
alt StringNullableFilter | String | Null Yes
isPrimary BoolFilter | Boolean No
sortOrder IntFilter | Int No
createdAt DateTimeFilter | DateTime No
product ProductNullableScalarRelationFilter | ProductWhereInput | Null Yes
productVariant ProductVariantNullableScalarRelationFilter | ProductVariantWhereInput | Null Yes

ProductImageOrderByWithRelationInput

Name Type Nullable
id SortOrder No
productId SortOrder | SortOrderInput No
productVariantId SortOrder | SortOrderInput No
url SortOrder No
alt SortOrder | SortOrderInput No
isPrimary SortOrder No
sortOrder SortOrder No
createdAt SortOrder No
product ProductOrderByWithRelationInput No
productVariant ProductVariantOrderByWithRelationInput No

ProductImageWhereUniqueInput

Name Type Nullable
id String No
AND ProductImageWhereInput | ProductImageWhereInput[] No
OR ProductImageWhereInput[] No
NOT ProductImageWhereInput | ProductImageWhereInput[] No
productId StringNullableFilter | String | Null Yes
productVariantId StringNullableFilter | String | Null Yes
url StringFilter | String No
alt StringNullableFilter | String | Null Yes
isPrimary BoolFilter | Boolean No
sortOrder IntFilter | Int No
createdAt DateTimeFilter | DateTime No
product ProductNullableScalarRelationFilter | ProductWhereInput | Null Yes
productVariant ProductVariantNullableScalarRelationFilter | ProductVariantWhereInput | Null Yes

ProductImageOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
productId SortOrder | SortOrderInput No
productVariantId SortOrder | SortOrderInput No
url SortOrder No
alt SortOrder | SortOrderInput No
isPrimary SortOrder No
sortOrder SortOrder No
createdAt SortOrder No
_count ProductImageCountOrderByAggregateInput No
_avg ProductImageAvgOrderByAggregateInput No
_max ProductImageMaxOrderByAggregateInput No
_min ProductImageMinOrderByAggregateInput No
_sum ProductImageSumOrderByAggregateInput No


ProductWhereInput

Name Type Nullable
AND ProductWhereInput | ProductWhereInput[] No
OR ProductWhereInput[] No
NOT ProductWhereInput | ProductWhereInput[] No
id StringFilter | String No
code StringFilter | String No
organizationId StringFilter | String No
name StringFilter | String No
description StringNullableFilter | String | Null Yes
brandId StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
brand BrandNullableScalarRelationFilter | BrandWhereInput | Null Yes
categories ProductCategoryListRelationFilter No
prices ProductPriceListRelationFilter No
variants ProductVariantListRelationFilter No
images ProductImageListRelationFilter No

ProductOrderByWithRelationInput

Name Type Nullable
id SortOrder No
code SortOrder No
organizationId SortOrder No
name SortOrder No
description SortOrder | SortOrderInput No
brandId SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
organization OrganizationOrderByWithRelationInput No
brand BrandOrderByWithRelationInput No
categories ProductCategoryOrderByRelationAggregateInput No
prices ProductPriceOrderByRelationAggregateInput No
variants ProductVariantOrderByRelationAggregateInput No
images ProductImageOrderByRelationAggregateInput No

ProductWhereUniqueInput

Name Type Nullable
id String No
code String No
AND ProductWhereInput | ProductWhereInput[] No
OR ProductWhereInput[] No
NOT ProductWhereInput | ProductWhereInput[] No
organizationId StringFilter | String No
name StringFilter | String No
description StringNullableFilter | String | Null Yes
brandId StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
brand BrandNullableScalarRelationFilter | BrandWhereInput | Null Yes
categories ProductCategoryListRelationFilter No
prices ProductPriceListRelationFilter No
variants ProductVariantListRelationFilter No
images ProductImageListRelationFilter No

ProductOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
code SortOrder No
organizationId SortOrder No
name SortOrder No
description SortOrder | SortOrderInput No
brandId SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
_count ProductCountOrderByAggregateInput No
_max ProductMaxOrderByAggregateInput No
_min ProductMinOrderByAggregateInput No


ProductVariantWhereInput

Name Type Nullable
AND ProductVariantWhereInput | ProductVariantWhereInput[] No
OR ProductVariantWhereInput[] No
NOT ProductVariantWhereInput | ProductVariantWhereInput[] No
id StringFilter | String No
productId StringFilter | String No
sku StringNullableFilter | String | Null Yes
barcode StringNullableFilter | String | Null Yes
title StringFilter | String No
defaultPrice DecimalNullableFilter | Decimal | Null Yes
currencyId StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
currency CurrencyNullableScalarRelationFilter | CurrencyWhereInput | Null Yes
product ProductScalarRelationFilter | ProductWhereInput No
product_instance ProductInstanceListRelationFilter No
product_variant_attribute ProductVariantAttributeListRelationFilter No
product_batches ProductBatchListRelationFilter No
stocks StockListRelationFilter No
purchase_items PurchaseItemListRelationFilter No
sele_items SaleItemListRelationFilter No
images ProductImageListRelationFilter No

ProductVariantOrderByWithRelationInput

Name Type Nullable
id SortOrder No
productId SortOrder No
sku SortOrder | SortOrderInput No
barcode SortOrder | SortOrderInput No
title SortOrder No
defaultPrice SortOrder | SortOrderInput No
currencyId SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
currency CurrencyOrderByWithRelationInput No
product ProductOrderByWithRelationInput No
product_instance ProductInstanceOrderByRelationAggregateInput No
product_variant_attribute ProductVariantAttributeOrderByRelationAggregateInput No
product_batches ProductBatchOrderByRelationAggregateInput No
stocks StockOrderByRelationAggregateInput No
purchase_items PurchaseItemOrderByRelationAggregateInput No
sele_items SaleItemOrderByRelationAggregateInput No
images ProductImageOrderByRelationAggregateInput No

ProductVariantWhereUniqueInput

Name Type Nullable
id String No
sku String No
barcode String No
AND ProductVariantWhereInput | ProductVariantWhereInput[] No
OR ProductVariantWhereInput[] No
NOT ProductVariantWhereInput | ProductVariantWhereInput[] No
productId StringFilter | String No
title StringFilter | String No
defaultPrice DecimalNullableFilter | Decimal | Null Yes
currencyId StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
currency CurrencyNullableScalarRelationFilter | CurrencyWhereInput | Null Yes
product ProductScalarRelationFilter | ProductWhereInput No
product_instance ProductInstanceListRelationFilter No
product_variant_attribute ProductVariantAttributeListRelationFilter No
product_batches ProductBatchListRelationFilter No
stocks StockListRelationFilter No
purchase_items PurchaseItemListRelationFilter No
sele_items SaleItemListRelationFilter No
images ProductImageListRelationFilter No

ProductVariantOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
productId SortOrder No
sku SortOrder | SortOrderInput No
barcode SortOrder | SortOrderInput No
title SortOrder No
defaultPrice SortOrder | SortOrderInput No
currencyId SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
_count ProductVariantCountOrderByAggregateInput No
_avg ProductVariantAvgOrderByAggregateInput No
_max ProductVariantMaxOrderByAggregateInput No
_min ProductVariantMinOrderByAggregateInput No
_sum ProductVariantSumOrderByAggregateInput No

ProductVariantScalarWhereWithAggregatesInput

Name Type Nullable
AND ProductVariantScalarWhereWithAggregatesInput | ProductVariantScalarWhereWithAggregatesInput[] No
OR ProductVariantScalarWhereWithAggregatesInput[] No
NOT ProductVariantScalarWhereWithAggregatesInput | ProductVariantScalarWhereWithAggregatesInput[] No
id StringWithAggregatesFilter | String No
productId StringWithAggregatesFilter | String No
sku StringNullableWithAggregatesFilter | String | Null Yes
barcode StringNullableWithAggregatesFilter | String | Null Yes
title StringWithAggregatesFilter | String No
defaultPrice DecimalNullableWithAggregatesFilter | Decimal | Null Yes
currencyId StringNullableWithAggregatesFilter | String | Null Yes
createdAt DateTimeWithAggregatesFilter | DateTime No
updatedAt DateTimeWithAggregatesFilter | DateTime No

AttributeWhereInput

Name Type Nullable
AND AttributeWhereInput | AttributeWhereInput[] No
OR AttributeWhereInput[] No
NOT AttributeWhereInput | AttributeWhereInput[] No
id StringFilter | String No
key StringFilter | String No
name StringFilter | String No
values AttributeValueListRelationFilter No

AttributeOrderByWithRelationInput

Name Type Nullable
id SortOrder No
key SortOrder No
name SortOrder No
values AttributeValueOrderByRelationAggregateInput No

AttributeWhereUniqueInput

Name Type Nullable
id String No
key String No
AND AttributeWhereInput | AttributeWhereInput[] No
OR AttributeWhereInput[] No
NOT AttributeWhereInput | AttributeWhereInput[] No
name StringFilter | String No
values AttributeValueListRelationFilter No

AttributeOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
key SortOrder No
name SortOrder No
_count AttributeCountOrderByAggregateInput No
_max AttributeMaxOrderByAggregateInput No
_min AttributeMinOrderByAggregateInput No


AttributeValueWhereInput

Name Type Nullable
AND AttributeValueWhereInput | AttributeValueWhereInput[] No
OR AttributeValueWhereInput[] No
NOT AttributeValueWhereInput | AttributeValueWhereInput[] No
id StringFilter | String No
attributeId StringFilter | String No
value StringFilter | String No
attribute AttributeScalarRelationFilter | AttributeWhereInput No
product_variant_attribute ProductVariantAttributeListRelationFilter No

AttributeValueOrderByWithRelationInput

Name Type Nullable
id SortOrder No
attributeId SortOrder No
value SortOrder No
attribute AttributeOrderByWithRelationInput No
product_variant_attribute ProductVariantAttributeOrderByRelationAggregateInput No

AttributeValueWhereUniqueInput

Name Type Nullable
id String No
attributeId_value AttributeValueAttributeIdValueCompoundUniqueInput No
AND AttributeValueWhereInput | AttributeValueWhereInput[] No
OR AttributeValueWhereInput[] No
NOT AttributeValueWhereInput | AttributeValueWhereInput[] No
attributeId StringFilter | String No
value StringFilter | String No
attribute AttributeScalarRelationFilter | AttributeWhereInput No
product_variant_attribute ProductVariantAttributeListRelationFilter No

AttributeValueOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
attributeId SortOrder No
value SortOrder No
_count AttributeValueCountOrderByAggregateInput No
_max AttributeValueMaxOrderByAggregateInput No
_min AttributeValueMinOrderByAggregateInput No



ProductVariantAttributeOrderByWithRelationInput

Name Type Nullable
id SortOrder No
productVariantId SortOrder No
attributeValueId SortOrder No
variant ProductVariantOrderByWithRelationInput No
value AttributeValueOrderByWithRelationInput No


ProductVariantAttributeOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
productVariantId SortOrder No
attributeValueId SortOrder No
_count ProductVariantAttributeCountOrderByAggregateInput No
_max ProductVariantAttributeMaxOrderByAggregateInput No
_min ProductVariantAttributeMinOrderByAggregateInput No


CategoryWhereInput

Name Type Nullable
AND CategoryWhereInput | CategoryWhereInput[] No
OR CategoryWhereInput[] No
NOT CategoryWhereInput | CategoryWhereInput[] No
id StringFilter | String No
name StringFilter | String No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
products ProductCategoryListRelationFilter No

CategoryOrderByWithRelationInput

Name Type Nullable
id SortOrder No
name SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
products ProductCategoryOrderByRelationAggregateInput No

CategoryWhereUniqueInput

Name Type Nullable
id String No
name String No
AND CategoryWhereInput | CategoryWhereInput[] No
OR CategoryWhereInput[] No
NOT CategoryWhereInput | CategoryWhereInput[] No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
products ProductCategoryListRelationFilter No

CategoryOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
name SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count CategoryCountOrderByAggregateInput No
_max CategoryMaxOrderByAggregateInput No
_min CategoryMinOrderByAggregateInput No



ProductCategoryOrderByWithRelationInput

Name Type Nullable
productId SortOrder No
categoryId SortOrder No
product ProductOrderByWithRelationInput No
category CategoryOrderByWithRelationInput No


ProductCategoryOrderByWithAggregationInput

Name Type Nullable
productId SortOrder No
categoryId SortOrder No
_count ProductCategoryCountOrderByAggregateInput No
_max ProductCategoryMaxOrderByAggregateInput No
_min ProductCategoryMinOrderByAggregateInput No


ProductPriceWhereInput

Name Type Nullable
AND ProductPriceWhereInput | ProductPriceWhereInput[] No
OR ProductPriceWhereInput[] No
NOT ProductPriceWhereInput | ProductPriceWhereInput[] No
id StringFilter | String No
productId StringFilter | String No
organizationId StringNullableFilter | String | Null Yes
priceType EnumPriceTypeFilter | PriceType No
amount DecimalFilter | Decimal No
currencyId StringFilter | String No
customerType EnumCustomerTypeNullableFilter | CustomerType | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
currency CurrencyScalarRelationFilter | CurrencyWhereInput No
product ProductScalarRelationFilter | ProductWhereInput No
organization OrganizationNullableScalarRelationFilter | OrganizationWhereInput | Null Yes

ProductPriceOrderByWithRelationInput

Name Type Nullable
id SortOrder No
productId SortOrder No
organizationId SortOrder | SortOrderInput No
priceType SortOrder No
amount SortOrder No
currencyId SortOrder No
customerType SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
currency CurrencyOrderByWithRelationInput No
product ProductOrderByWithRelationInput No
organization OrganizationOrderByWithRelationInput No

ProductPriceWhereUniqueInput

Name Type Nullable
id String No
AND ProductPriceWhereInput | ProductPriceWhereInput[] No
OR ProductPriceWhereInput[] No
NOT ProductPriceWhereInput | ProductPriceWhereInput[] No
productId StringFilter | String No
organizationId StringNullableFilter | String | Null Yes
priceType EnumPriceTypeFilter | PriceType No
amount DecimalFilter | Decimal No
currencyId StringFilter | String No
customerType EnumCustomerTypeNullableFilter | CustomerType | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
currency CurrencyScalarRelationFilter | CurrencyWhereInput No
product ProductScalarRelationFilter | ProductWhereInput No
organization OrganizationNullableScalarRelationFilter | OrganizationWhereInput | Null Yes

ProductPriceOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
productId SortOrder No
organizationId SortOrder | SortOrderInput No
priceType SortOrder No
amount SortOrder No
currencyId SortOrder No
customerType SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
_count ProductPriceCountOrderByAggregateInput No
_avg ProductPriceAvgOrderByAggregateInput No
_max ProductPriceMaxOrderByAggregateInput No
_min ProductPriceMinOrderByAggregateInput No
_sum ProductPriceSumOrderByAggregateInput No

ProductPriceScalarWhereWithAggregatesInput

Name Type Nullable
AND ProductPriceScalarWhereWithAggregatesInput | ProductPriceScalarWhereWithAggregatesInput[] No
OR ProductPriceScalarWhereWithAggregatesInput[] No
NOT ProductPriceScalarWhereWithAggregatesInput | ProductPriceScalarWhereWithAggregatesInput[] No
id StringWithAggregatesFilter | String No
productId StringWithAggregatesFilter | String No
organizationId StringNullableWithAggregatesFilter | String | Null Yes
priceType EnumPriceTypeWithAggregatesFilter | PriceType No
amount DecimalWithAggregatesFilter | Decimal No
currencyId StringWithAggregatesFilter | String No
customerType EnumCustomerTypeNullableWithAggregatesFilter | CustomerType | Null Yes
createdAt DateTimeWithAggregatesFilter | DateTime No
updatedAt DateTimeWithAggregatesFilter | DateTime No

ProductInstanceWhereInput

Name Type Nullable
AND ProductInstanceWhereInput | ProductInstanceWhereInput[] No
OR ProductInstanceWhereInput[] No
NOT ProductInstanceWhereInput | ProductInstanceWhereInput[] No
id StringFilter | String No
productVariantId StringNullableFilter | String | Null Yes
serialNumber StringFilter | String No
currentOwnerId StringNullableFilter | String | Null Yes
currentStatus EnumProductStatusFilter | ProductStatus No
organizationId StringFilter | String No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
productVariant ProductVariantNullableScalarRelationFilter | ProductVariantWhereInput | Null Yes
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
current_owner OrganizationCustomerNullableScalarRelationFilter | OrganizationCustomerWhereInput | Null Yes
transactions ProductTransactionListRelationFilter No

ProductInstanceOrderByWithRelationInput

Name Type Nullable
id SortOrder No
productVariantId SortOrder | SortOrderInput No
serialNumber SortOrder No
currentOwnerId SortOrder | SortOrderInput No
currentStatus SortOrder No
organizationId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
productVariant ProductVariantOrderByWithRelationInput No
organization OrganizationOrderByWithRelationInput No
current_owner OrganizationCustomerOrderByWithRelationInput No
transactions ProductTransactionOrderByRelationAggregateInput No

ProductInstanceWhereUniqueInput

Name Type Nullable
id String No
serialNumber String No
AND ProductInstanceWhereInput | ProductInstanceWhereInput[] No
OR ProductInstanceWhereInput[] No
NOT ProductInstanceWhereInput | ProductInstanceWhereInput[] No
productVariantId StringNullableFilter | String | Null Yes
currentOwnerId StringNullableFilter | String | Null Yes
currentStatus EnumProductStatusFilter | ProductStatus No
organizationId StringFilter | String No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
productVariant ProductVariantNullableScalarRelationFilter | ProductVariantWhereInput | Null Yes
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
current_owner OrganizationCustomerNullableScalarRelationFilter | OrganizationCustomerWhereInput | Null Yes
transactions ProductTransactionListRelationFilter No

ProductInstanceOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
productVariantId SortOrder | SortOrderInput No
serialNumber SortOrder No
currentOwnerId SortOrder | SortOrderInput No
currentStatus SortOrder No
organizationId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count ProductInstanceCountOrderByAggregateInput No
_max ProductInstanceMaxOrderByAggregateInput No
_min ProductInstanceMinOrderByAggregateInput No


ProductTransactionWhereInput

Name Type Nullable
AND ProductTransactionWhereInput | ProductTransactionWhereInput[] No
OR ProductTransactionWhereInput[] No
NOT ProductTransactionWhereInput | ProductTransactionWhereInput[] No
id StringFilter | String No
productInstanceId StringFilter | String No
fromCustomerId StringNullableFilter | String | Null Yes
toCustomerId StringNullableFilter | String | Null Yes
toOrganizationId StringNullableFilter | String | Null Yes
saleId StringNullableFilter | String | Null Yes
action EnumProductActionFilter | ProductAction No
date DateTimeFilter | DateTime No
description StringNullableFilter | String | Null Yes
product_instance ProductInstanceScalarRelationFilter | ProductInstanceWhereInput No

ProductTransactionOrderByWithRelationInput

Name Type Nullable
id SortOrder No
productInstanceId SortOrder No
fromCustomerId SortOrder | SortOrderInput No
toCustomerId SortOrder | SortOrderInput No
toOrganizationId SortOrder | SortOrderInput No
saleId SortOrder | SortOrderInput No
action SortOrder No
date SortOrder No
description SortOrder | SortOrderInput No
product_instance ProductInstanceOrderByWithRelationInput No

ProductTransactionWhereUniqueInput

Name Type Nullable
id String No
AND ProductTransactionWhereInput | ProductTransactionWhereInput[] No
OR ProductTransactionWhereInput[] No
NOT ProductTransactionWhereInput | ProductTransactionWhereInput[] No
productInstanceId StringFilter | String No
fromCustomerId StringNullableFilter | String | Null Yes
toCustomerId StringNullableFilter | String | Null Yes
toOrganizationId StringNullableFilter | String | Null Yes
saleId StringNullableFilter | String | Null Yes
action EnumProductActionFilter | ProductAction No
date DateTimeFilter | DateTime No
description StringNullableFilter | String | Null Yes
product_instance ProductInstanceScalarRelationFilter | ProductInstanceWhereInput No

ProductTransactionOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
productInstanceId SortOrder No
fromCustomerId SortOrder | SortOrderInput No
toCustomerId SortOrder | SortOrderInput No
toOrganizationId SortOrder | SortOrderInput No
saleId SortOrder | SortOrderInput No
action SortOrder No
date SortOrder No
description SortOrder | SortOrderInput No
_count ProductTransactionCountOrderByAggregateInput No
_max ProductTransactionMaxOrderByAggregateInput No
_min ProductTransactionMinOrderByAggregateInput No

ProductTransactionScalarWhereWithAggregatesInput

Name Type Nullable
AND ProductTransactionScalarWhereWithAggregatesInput | ProductTransactionScalarWhereWithAggregatesInput[] No
OR ProductTransactionScalarWhereWithAggregatesInput[] No
NOT ProductTransactionScalarWhereWithAggregatesInput | ProductTransactionScalarWhereWithAggregatesInput[] No
id StringWithAggregatesFilter | String No
productInstanceId StringWithAggregatesFilter | String No
fromCustomerId StringNullableWithAggregatesFilter | String | Null Yes
toCustomerId StringNullableWithAggregatesFilter | String | Null Yes
toOrganizationId StringNullableWithAggregatesFilter | String | Null Yes
saleId StringNullableWithAggregatesFilter | String | Null Yes
action EnumProductActionWithAggregatesFilter | ProductAction No
date DateTimeWithAggregatesFilter | DateTime No
description StringNullableWithAggregatesFilter | String | Null Yes

ProductBatchWhereInput

Name Type Nullable
AND ProductBatchWhereInput | ProductBatchWhereInput[] No
OR ProductBatchWhereInput[] No
NOT ProductBatchWhereInput | ProductBatchWhereInput[] No
id StringFilter | String No
productVariantId StringFilter | String No
batchNumber StringFilter | String No
expiryDate DateTimeNullableFilter | DateTime | Null Yes
quantity IntFilter | Int No
isValid BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No
product_variant ProductVariantScalarRelationFilter | ProductVariantWhereInput No

ProductBatchOrderByWithRelationInput

Name Type Nullable
id SortOrder No
productVariantId SortOrder No
batchNumber SortOrder No
expiryDate SortOrder | SortOrderInput No
quantity SortOrder No
isValid SortOrder No
createdAt SortOrder No
product_variant ProductVariantOrderByWithRelationInput No

ProductBatchWhereUniqueInput

Name Type Nullable
id String No
AND ProductBatchWhereInput | ProductBatchWhereInput[] No
OR ProductBatchWhereInput[] No
NOT ProductBatchWhereInput | ProductBatchWhereInput[] No
productVariantId StringFilter | String No
batchNumber StringFilter | String No
expiryDate DateTimeNullableFilter | DateTime | Null Yes
quantity IntFilter | Int No
isValid BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No
product_variant ProductVariantScalarRelationFilter | ProductVariantWhereInput No

ProductBatchOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
productVariantId SortOrder No
batchNumber SortOrder No
expiryDate SortOrder | SortOrderInput No
quantity SortOrder No
isValid SortOrder No
createdAt SortOrder No
_count ProductBatchCountOrderByAggregateInput No
_avg ProductBatchAvgOrderByAggregateInput No
_max ProductBatchMaxOrderByAggregateInput No
_min ProductBatchMinOrderByAggregateInput No
_sum ProductBatchSumOrderByAggregateInput No


StockWhereInput

Name Type Nullable
AND StockWhereInput | StockWhereInput[] No
OR StockWhereInput[] No
NOT StockWhereInput | StockWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
productVariantId StringFilter | String No
quantity IntFilter | Int No
updatedAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
product_variant ProductVariantScalarRelationFilter | ProductVariantWhereInput No

StockOrderByWithRelationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
productVariantId SortOrder No
quantity SortOrder No
updatedAt SortOrder No
organization OrganizationOrderByWithRelationInput No
product_variant ProductVariantOrderByWithRelationInput No

StockWhereUniqueInput

Name Type Nullable
id String No
organizationId_productVariantId StockOrganizationIdProductVariantIdCompoundUniqueInput No
AND StockWhereInput | StockWhereInput[] No
OR StockWhereInput[] No
NOT StockWhereInput | StockWhereInput[] No
organizationId StringFilter | String No
productVariantId StringFilter | String No
quantity IntFilter | Int No
updatedAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
product_variant ProductVariantScalarRelationFilter | ProductVariantWhereInput No

StockOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
productVariantId SortOrder No
quantity SortOrder No
updatedAt SortOrder No
_count StockCountOrderByAggregateInput No
_avg StockAvgOrderByAggregateInput No
_max StockMaxOrderByAggregateInput No
_min StockMinOrderByAggregateInput No
_sum StockSumOrderByAggregateInput No


KassaWhereInput

Name Type Nullable
AND KassaWhereInput | KassaWhereInput[] No
OR KassaWhereInput[] No
NOT KassaWhereInput | KassaWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
name StringFilter | String No
type StringFilter | String No
currencyId StringFilter | String No
balance DecimalFilter | Decimal No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
currency CurrencyScalarRelationFilter | CurrencyWhereInput No
payments PaymentListRelationFilter No
purchases PurchaseListRelationFilter No
sales SaleListRelationFilter No
outgoing_transfers KassaTransferListRelationFilter No
incoming_transfers KassaTransferListRelationFilter No

KassaOrderByWithRelationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
name SortOrder No
type SortOrder No
currencyId SortOrder No
balance SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
organization OrganizationOrderByWithRelationInput No
currency CurrencyOrderByWithRelationInput No
payments PaymentOrderByRelationAggregateInput No
purchases PurchaseOrderByRelationAggregateInput No
sales SaleOrderByRelationAggregateInput No
outgoing_transfers KassaTransferOrderByRelationAggregateInput No
incoming_transfers KassaTransferOrderByRelationAggregateInput No

KassaWhereUniqueInput

Name Type Nullable
id String No
AND KassaWhereInput | KassaWhereInput[] No
OR KassaWhereInput[] No
NOT KassaWhereInput | KassaWhereInput[] No
organizationId StringFilter | String No
name StringFilter | String No
type StringFilter | String No
currencyId StringFilter | String No
balance DecimalFilter | Decimal No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
currency CurrencyScalarRelationFilter | CurrencyWhereInput No
payments PaymentListRelationFilter No
purchases PurchaseListRelationFilter No
sales SaleListRelationFilter No
outgoing_transfers KassaTransferListRelationFilter No
incoming_transfers KassaTransferListRelationFilter No

KassaOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
name SortOrder No
type SortOrder No
currencyId SortOrder No
balance SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count KassaCountOrderByAggregateInput No
_avg KassaAvgOrderByAggregateInput No
_max KassaMaxOrderByAggregateInput No
_min KassaMinOrderByAggregateInput No
_sum KassaSumOrderByAggregateInput No


KassaTransferWhereInput

Name Type Nullable
AND KassaTransferWhereInput | KassaTransferWhereInput[] No
OR KassaTransferWhereInput[] No
NOT KassaTransferWhereInput | KassaTransferWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
fromKassaId StringFilter | String No
toKassaId StringFilter | String No
fromCurrencyId StringFilter | String No
toCurrencyId StringFilter | String No
rate DecimalFilter | Decimal No
amount DecimalFilter | Decimal No
convertedAmount DecimalFilter | Decimal No
description StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
from_kassa KassaScalarRelationFilter | KassaWhereInput No
to_kassa KassaScalarRelationFilter | KassaWhereInput No
from_currency CurrencyScalarRelationFilter | CurrencyWhereInput No
to_currency CurrencyScalarRelationFilter | CurrencyWhereInput No

KassaTransferOrderByWithRelationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
fromKassaId SortOrder No
toKassaId SortOrder No
fromCurrencyId SortOrder No
toCurrencyId SortOrder No
rate SortOrder No
amount SortOrder No
convertedAmount SortOrder No
description SortOrder | SortOrderInput No
createdAt SortOrder No
organization OrganizationOrderByWithRelationInput No
from_kassa KassaOrderByWithRelationInput No
to_kassa KassaOrderByWithRelationInput No
from_currency CurrencyOrderByWithRelationInput No
to_currency CurrencyOrderByWithRelationInput No

KassaTransferWhereUniqueInput

Name Type Nullable
id String No
AND KassaTransferWhereInput | KassaTransferWhereInput[] No
OR KassaTransferWhereInput[] No
NOT KassaTransferWhereInput | KassaTransferWhereInput[] No
organizationId StringFilter | String No
fromKassaId StringFilter | String No
toKassaId StringFilter | String No
fromCurrencyId StringFilter | String No
toCurrencyId StringFilter | String No
rate DecimalFilter | Decimal No
amount DecimalFilter | Decimal No
convertedAmount DecimalFilter | Decimal No
description StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
from_kassa KassaScalarRelationFilter | KassaWhereInput No
to_kassa KassaScalarRelationFilter | KassaWhereInput No
from_currency CurrencyScalarRelationFilter | CurrencyWhereInput No
to_currency CurrencyScalarRelationFilter | CurrencyWhereInput No

KassaTransferOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
fromKassaId SortOrder No
toKassaId SortOrder No
fromCurrencyId SortOrder No
toCurrencyId SortOrder No
rate SortOrder No
amount SortOrder No
convertedAmount SortOrder No
description SortOrder | SortOrderInput No
createdAt SortOrder No
_count KassaTransferCountOrderByAggregateInput No
_avg KassaTransferAvgOrderByAggregateInput No
_max KassaTransferMaxOrderByAggregateInput No
_min KassaTransferMinOrderByAggregateInput No
_sum KassaTransferSumOrderByAggregateInput No

KassaTransferScalarWhereWithAggregatesInput

Name Type Nullable
AND KassaTransferScalarWhereWithAggregatesInput | KassaTransferScalarWhereWithAggregatesInput[] No
OR KassaTransferScalarWhereWithAggregatesInput[] No
NOT KassaTransferScalarWhereWithAggregatesInput | KassaTransferScalarWhereWithAggregatesInput[] No
id StringWithAggregatesFilter | String No
organizationId StringWithAggregatesFilter | String No
fromKassaId StringWithAggregatesFilter | String No
toKassaId StringWithAggregatesFilter | String No
fromCurrencyId StringWithAggregatesFilter | String No
toCurrencyId StringWithAggregatesFilter | String No
rate DecimalWithAggregatesFilter | Decimal No
amount DecimalWithAggregatesFilter | Decimal No
convertedAmount DecimalWithAggregatesFilter | Decimal No
description StringNullableWithAggregatesFilter | String | Null Yes
createdAt DateTimeWithAggregatesFilter | DateTime No

PaymentWhereInput

Name Type Nullable
AND PaymentWhereInput | PaymentWhereInput[] No
OR PaymentWhereInput[] No
NOT PaymentWhereInput | PaymentWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
userId StringNullableFilter | String | Null Yes
customerId StringNullableFilter | String | Null Yes
kassaId StringFilter | String No
amount DecimalFilter | Decimal No
currencyId StringFilter | String No
type EnumPaymentTypeFilter | PaymentType No
description StringNullableFilter | String | Null Yes
purchaseId StringNullableFilter | String | Null Yes
saleId StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
user UserNullableScalarRelationFilter | UserWhereInput | Null Yes
customer OrganizationCustomerNullableScalarRelationFilter | OrganizationCustomerWhereInput | Null Yes
kassa KassaScalarRelationFilter | KassaWhereInput No
currency CurrencyScalarRelationFilter | CurrencyWhereInput No
purchase PurchaseNullableScalarRelationFilter | PurchaseWhereInput | Null Yes
sale SaleNullableScalarRelationFilter | SaleWhereInput | Null Yes
installment_payments InstallmentPaymentListRelationFilter No

PaymentOrderByWithRelationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder | SortOrderInput No
customerId SortOrder | SortOrderInput No
kassaId SortOrder No
amount SortOrder No
currencyId SortOrder No
type SortOrder No
description SortOrder | SortOrderInput No
purchaseId SortOrder | SortOrderInput No
saleId SortOrder | SortOrderInput No
createdAt SortOrder No
organization OrganizationOrderByWithRelationInput No
user UserOrderByWithRelationInput No
customer OrganizationCustomerOrderByWithRelationInput No
kassa KassaOrderByWithRelationInput No
currency CurrencyOrderByWithRelationInput No
purchase PurchaseOrderByWithRelationInput No
sale SaleOrderByWithRelationInput No
installment_payments InstallmentPaymentOrderByRelationAggregateInput No

PaymentWhereUniqueInput

Name Type Nullable
id String No
AND PaymentWhereInput | PaymentWhereInput[] No
OR PaymentWhereInput[] No
NOT PaymentWhereInput | PaymentWhereInput[] No
organizationId StringFilter | String No
userId StringNullableFilter | String | Null Yes
customerId StringNullableFilter | String | Null Yes
kassaId StringFilter | String No
amount DecimalFilter | Decimal No
currencyId StringFilter | String No
type EnumPaymentTypeFilter | PaymentType No
description StringNullableFilter | String | Null Yes
purchaseId StringNullableFilter | String | Null Yes
saleId StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
user UserNullableScalarRelationFilter | UserWhereInput | Null Yes
customer OrganizationCustomerNullableScalarRelationFilter | OrganizationCustomerWhereInput | Null Yes
kassa KassaScalarRelationFilter | KassaWhereInput No
currency CurrencyScalarRelationFilter | CurrencyWhereInput No
purchase PurchaseNullableScalarRelationFilter | PurchaseWhereInput | Null Yes
sale SaleNullableScalarRelationFilter | SaleWhereInput | Null Yes
installment_payments InstallmentPaymentListRelationFilter No

PaymentOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder | SortOrderInput No
customerId SortOrder | SortOrderInput No
kassaId SortOrder No
amount SortOrder No
currencyId SortOrder No
type SortOrder No
description SortOrder | SortOrderInput No
purchaseId SortOrder | SortOrderInput No
saleId SortOrder | SortOrderInput No
createdAt SortOrder No
_count PaymentCountOrderByAggregateInput No
_avg PaymentAvgOrderByAggregateInput No
_max PaymentMaxOrderByAggregateInput No
_min PaymentMinOrderByAggregateInput No
_sum PaymentSumOrderByAggregateInput No

PaymentScalarWhereWithAggregatesInput

Name Type Nullable
AND PaymentScalarWhereWithAggregatesInput | PaymentScalarWhereWithAggregatesInput[] No
OR PaymentScalarWhereWithAggregatesInput[] No
NOT PaymentScalarWhereWithAggregatesInput | PaymentScalarWhereWithAggregatesInput[] No
id StringWithAggregatesFilter | String No
organizationId StringWithAggregatesFilter | String No
userId StringNullableWithAggregatesFilter | String | Null Yes
customerId StringNullableWithAggregatesFilter | String | Null Yes
kassaId StringWithAggregatesFilter | String No
amount DecimalWithAggregatesFilter | Decimal No
currencyId StringWithAggregatesFilter | String No
type EnumPaymentTypeWithAggregatesFilter | PaymentType No
description StringNullableWithAggregatesFilter | String | Null Yes
purchaseId StringNullableWithAggregatesFilter | String | Null Yes
saleId StringNullableWithAggregatesFilter | String | Null Yes
createdAt DateTimeWithAggregatesFilter | DateTime No

TransactionWhereInput

Name Type Nullable
AND TransactionWhereInput | TransactionWhereInput[] No
OR TransactionWhereInput[] No
NOT TransactionWhereInput | TransactionWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
customerId StringFilter | String No
relatedType EnumRelatedTypeFilter | RelatedType No
relatedId StringFilter | String No
date DateTimeFilter | DateTime No
debit DecimalFilter | Decimal No
credit DecimalFilter | Decimal No
balanceAfter DecimalFilter | Decimal No
currencyId StringFilter | String No
description StringNullableFilter | String | Null Yes
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
customer OrganizationCustomerScalarRelationFilter | OrganizationCustomerWhereInput No
currency CurrencyScalarRelationFilter | CurrencyWhereInput No

TransactionOrderByWithRelationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
customerId SortOrder No
relatedType SortOrder No
relatedId SortOrder No
date SortOrder No
debit SortOrder No
credit SortOrder No
balanceAfter SortOrder No
currencyId SortOrder No
description SortOrder | SortOrderInput No
organization OrganizationOrderByWithRelationInput No
customer OrganizationCustomerOrderByWithRelationInput No
currency CurrencyOrderByWithRelationInput No

TransactionWhereUniqueInput

Name Type Nullable
id String No
AND TransactionWhereInput | TransactionWhereInput[] No
OR TransactionWhereInput[] No
NOT TransactionWhereInput | TransactionWhereInput[] No
organizationId StringFilter | String No
customerId StringFilter | String No
relatedType EnumRelatedTypeFilter | RelatedType No
relatedId StringFilter | String No
date DateTimeFilter | DateTime No
debit DecimalFilter | Decimal No
credit DecimalFilter | Decimal No
balanceAfter DecimalFilter | Decimal No
currencyId StringFilter | String No
description StringNullableFilter | String | Null Yes
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
customer OrganizationCustomerScalarRelationFilter | OrganizationCustomerWhereInput No
currency CurrencyScalarRelationFilter | CurrencyWhereInput No

TransactionOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
customerId SortOrder No
relatedType SortOrder No
relatedId SortOrder No
date SortOrder No
debit SortOrder No
credit SortOrder No
balanceAfter SortOrder No
currencyId SortOrder No
description SortOrder | SortOrderInput No
_count TransactionCountOrderByAggregateInput No
_avg TransactionAvgOrderByAggregateInput No
_max TransactionMaxOrderByAggregateInput No
_min TransactionMinOrderByAggregateInput No
_sum TransactionSumOrderByAggregateInput No

TransactionScalarWhereWithAggregatesInput

Name Type Nullable
AND TransactionScalarWhereWithAggregatesInput | TransactionScalarWhereWithAggregatesInput[] No
OR TransactionScalarWhereWithAggregatesInput[] No
NOT TransactionScalarWhereWithAggregatesInput | TransactionScalarWhereWithAggregatesInput[] No
id StringWithAggregatesFilter | String No
organizationId StringWithAggregatesFilter | String No
customerId StringWithAggregatesFilter | String No
relatedType EnumRelatedTypeWithAggregatesFilter | RelatedType No
relatedId StringWithAggregatesFilter | String No
date DateTimeWithAggregatesFilter | DateTime No
debit DecimalWithAggregatesFilter | Decimal No
credit DecimalWithAggregatesFilter | Decimal No
balanceAfter DecimalWithAggregatesFilter | Decimal No
currencyId StringWithAggregatesFilter | String No
description StringNullableWithAggregatesFilter | String | Null Yes

SaleWhereInput

Name Type Nullable
AND SaleWhereInput | SaleWhereInput[] No
OR SaleWhereInput[] No
NOT SaleWhereInput | SaleWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
customerId StringNullableFilter | String | Null Yes
responsibleId StringFilter | String No
kassaId StringNullableFilter | String | Null Yes
invoiceNumber StringFilter | String No
saleDate DateTimeFilter | DateTime No
totalAmount DecimalFilter | Decimal No
paidAmount DecimalFilter | Decimal No
currencyId StringFilter | String No
status EnumSaleStatusFilter | SaleStatus No
notes StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
customer OrganizationCustomerNullableScalarRelationFilter | OrganizationCustomerWhereInput | Null Yes
responsible UserScalarRelationFilter | UserWhereInput No
currency CurrencyScalarRelationFilter | CurrencyWhereInput No
kassa KassaNullableScalarRelationFilter | KassaWhereInput | Null Yes
items SaleItemListRelationFilter No
payments PaymentListRelationFilter No
installments InstallmentListRelationFilter No
documents DocumentListRelationFilter No

SaleOrderByWithRelationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
customerId SortOrder | SortOrderInput No
responsibleId SortOrder No
kassaId SortOrder | SortOrderInput No
invoiceNumber SortOrder No
saleDate SortOrder No
totalAmount SortOrder No
paidAmount SortOrder No
currencyId SortOrder No
status SortOrder No
notes SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
organization OrganizationOrderByWithRelationInput No
customer OrganizationCustomerOrderByWithRelationInput No
responsible UserOrderByWithRelationInput No
currency CurrencyOrderByWithRelationInput No
kassa KassaOrderByWithRelationInput No
items SaleItemOrderByRelationAggregateInput No
payments PaymentOrderByRelationAggregateInput No
installments InstallmentOrderByRelationAggregateInput No
documents DocumentOrderByRelationAggregateInput No

SaleWhereUniqueInput

Name Type Nullable
id String No
AND SaleWhereInput | SaleWhereInput[] No
OR SaleWhereInput[] No
NOT SaleWhereInput | SaleWhereInput[] No
organizationId StringFilter | String No
customerId StringNullableFilter | String | Null Yes
responsibleId StringFilter | String No
kassaId StringNullableFilter | String | Null Yes
invoiceNumber StringFilter | String No
saleDate DateTimeFilter | DateTime No
totalAmount DecimalFilter | Decimal No
paidAmount DecimalFilter | Decimal No
currencyId StringFilter | String No
status EnumSaleStatusFilter | SaleStatus No
notes StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
customer OrganizationCustomerNullableScalarRelationFilter | OrganizationCustomerWhereInput | Null Yes
responsible UserScalarRelationFilter | UserWhereInput No
currency CurrencyScalarRelationFilter | CurrencyWhereInput No
kassa KassaNullableScalarRelationFilter | KassaWhereInput | Null Yes
items SaleItemListRelationFilter No
payments PaymentListRelationFilter No
installments InstallmentListRelationFilter No
documents DocumentListRelationFilter No

SaleOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
customerId SortOrder | SortOrderInput No
responsibleId SortOrder No
kassaId SortOrder | SortOrderInput No
invoiceNumber SortOrder No
saleDate SortOrder No
totalAmount SortOrder No
paidAmount SortOrder No
currencyId SortOrder No
status SortOrder No
notes SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
_count SaleCountOrderByAggregateInput No
_avg SaleAvgOrderByAggregateInput No
_max SaleMaxOrderByAggregateInput No
_min SaleMinOrderByAggregateInput No
_sum SaleSumOrderByAggregateInput No

SaleScalarWhereWithAggregatesInput

Name Type Nullable
AND SaleScalarWhereWithAggregatesInput | SaleScalarWhereWithAggregatesInput[] No
OR SaleScalarWhereWithAggregatesInput[] No
NOT SaleScalarWhereWithAggregatesInput | SaleScalarWhereWithAggregatesInput[] No
id StringWithAggregatesFilter | String No
organizationId StringWithAggregatesFilter | String No
customerId StringNullableWithAggregatesFilter | String | Null Yes
responsibleId StringWithAggregatesFilter | String No
kassaId StringNullableWithAggregatesFilter | String | Null Yes
invoiceNumber StringWithAggregatesFilter | String No
saleDate DateTimeWithAggregatesFilter | DateTime No
totalAmount DecimalWithAggregatesFilter | Decimal No
paidAmount DecimalWithAggregatesFilter | Decimal No
currencyId StringWithAggregatesFilter | String No
status EnumSaleStatusWithAggregatesFilter | SaleStatus No
notes StringNullableWithAggregatesFilter | String | Null Yes
createdAt DateTimeWithAggregatesFilter | DateTime No
updatedAt DateTimeWithAggregatesFilter | DateTime No

SaleItemWhereInput

Name Type Nullable
AND SaleItemWhereInput | SaleItemWhereInput[] No
OR SaleItemWhereInput[] No
NOT SaleItemWhereInput | SaleItemWhereInput[] No
id StringFilter | String No
saleId StringFilter | String No
productVariantId StringFilter | String No
quantity IntFilter | Int No
price DecimalFilter | Decimal No
total DecimalFilter | Decimal No
currencyId StringFilter | String No
sale SaleScalarRelationFilter | SaleWhereInput No
product_variant ProductVariantScalarRelationFilter | ProductVariantWhereInput No
currency CurrencyScalarRelationFilter | CurrencyWhereInput No

SaleItemOrderByWithRelationInput

Name Type Nullable
id SortOrder No
saleId SortOrder No
productVariantId SortOrder No
quantity SortOrder No
price SortOrder No
total SortOrder No
currencyId SortOrder No
sale SaleOrderByWithRelationInput No
product_variant ProductVariantOrderByWithRelationInput No
currency CurrencyOrderByWithRelationInput No

SaleItemWhereUniqueInput

Name Type Nullable
id String No
AND SaleItemWhereInput | SaleItemWhereInput[] No
OR SaleItemWhereInput[] No
NOT SaleItemWhereInput | SaleItemWhereInput[] No
saleId StringFilter | String No
productVariantId StringFilter | String No
quantity IntFilter | Int No
price DecimalFilter | Decimal No
total DecimalFilter | Decimal No
currencyId StringFilter | String No
sale SaleScalarRelationFilter | SaleWhereInput No
product_variant ProductVariantScalarRelationFilter | ProductVariantWhereInput No
currency CurrencyScalarRelationFilter | CurrencyWhereInput No

SaleItemOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
saleId SortOrder No
productVariantId SortOrder No
quantity SortOrder No
price SortOrder No
total SortOrder No
currencyId SortOrder No
_count SaleItemCountOrderByAggregateInput No
_avg SaleItemAvgOrderByAggregateInput No
_max SaleItemMaxOrderByAggregateInput No
_min SaleItemMinOrderByAggregateInput No
_sum SaleItemSumOrderByAggregateInput No


PurchaseWhereInput

Name Type Nullable
AND PurchaseWhereInput | PurchaseWhereInput[] No
OR PurchaseWhereInput[] No
NOT PurchaseWhereInput | PurchaseWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
supplierId StringFilter | String No
responsibleId StringNullableFilter | String | Null Yes
kassaId StringNullableFilter | String | Null Yes
invoiceNumber StringNullableFilter | String | Null Yes
purchaseDate DateTimeFilter | DateTime No
totalAmount DecimalFilter | Decimal No
paidAmount DecimalFilter | Decimal No
currencyId StringFilter | String No
status EnumPurchaseStatusFilter | PurchaseStatus No
notes StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
supplier OrganizationCustomerScalarRelationFilter | OrganizationCustomerWhereInput No
responsible UserNullableScalarRelationFilter | UserWhereInput | Null Yes
currency CurrencyScalarRelationFilter | CurrencyWhereInput No
kassa KassaNullableScalarRelationFilter | KassaWhereInput | Null Yes
items PurchaseItemListRelationFilter No
payments PaymentListRelationFilter No

PurchaseOrderByWithRelationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
supplierId SortOrder No
responsibleId SortOrder | SortOrderInput No
kassaId SortOrder | SortOrderInput No
invoiceNumber SortOrder | SortOrderInput No
purchaseDate SortOrder No
totalAmount SortOrder No
paidAmount SortOrder No
currencyId SortOrder No
status SortOrder No
notes SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
organization OrganizationOrderByWithRelationInput No
supplier OrganizationCustomerOrderByWithRelationInput No
responsible UserOrderByWithRelationInput No
currency CurrencyOrderByWithRelationInput No
kassa KassaOrderByWithRelationInput No
items PurchaseItemOrderByRelationAggregateInput No
payments PaymentOrderByRelationAggregateInput No

PurchaseWhereUniqueInput

Name Type Nullable
id String No
AND PurchaseWhereInput | PurchaseWhereInput[] No
OR PurchaseWhereInput[] No
NOT PurchaseWhereInput | PurchaseWhereInput[] No
organizationId StringFilter | String No
supplierId StringFilter | String No
responsibleId StringNullableFilter | String | Null Yes
kassaId StringNullableFilter | String | Null Yes
invoiceNumber StringNullableFilter | String | Null Yes
purchaseDate DateTimeFilter | DateTime No
totalAmount DecimalFilter | Decimal No
paidAmount DecimalFilter | Decimal No
currencyId StringFilter | String No
status EnumPurchaseStatusFilter | PurchaseStatus No
notes StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
supplier OrganizationCustomerScalarRelationFilter | OrganizationCustomerWhereInput No
responsible UserNullableScalarRelationFilter | UserWhereInput | Null Yes
currency CurrencyScalarRelationFilter | CurrencyWhereInput No
kassa KassaNullableScalarRelationFilter | KassaWhereInput | Null Yes
items PurchaseItemListRelationFilter No
payments PaymentListRelationFilter No

PurchaseOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
supplierId SortOrder No
responsibleId SortOrder | SortOrderInput No
kassaId SortOrder | SortOrderInput No
invoiceNumber SortOrder | SortOrderInput No
purchaseDate SortOrder No
totalAmount SortOrder No
paidAmount SortOrder No
currencyId SortOrder No
status SortOrder No
notes SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
_count PurchaseCountOrderByAggregateInput No
_avg PurchaseAvgOrderByAggregateInput No
_max PurchaseMaxOrderByAggregateInput No
_min PurchaseMinOrderByAggregateInput No
_sum PurchaseSumOrderByAggregateInput No

PurchaseScalarWhereWithAggregatesInput

Name Type Nullable
AND PurchaseScalarWhereWithAggregatesInput | PurchaseScalarWhereWithAggregatesInput[] No
OR PurchaseScalarWhereWithAggregatesInput[] No
NOT PurchaseScalarWhereWithAggregatesInput | PurchaseScalarWhereWithAggregatesInput[] No
id StringWithAggregatesFilter | String No
organizationId StringWithAggregatesFilter | String No
supplierId StringWithAggregatesFilter | String No
responsibleId StringNullableWithAggregatesFilter | String | Null Yes
kassaId StringNullableWithAggregatesFilter | String | Null Yes
invoiceNumber StringNullableWithAggregatesFilter | String | Null Yes
purchaseDate DateTimeWithAggregatesFilter | DateTime No
totalAmount DecimalWithAggregatesFilter | Decimal No
paidAmount DecimalWithAggregatesFilter | Decimal No
currencyId StringWithAggregatesFilter | String No
status EnumPurchaseStatusWithAggregatesFilter | PurchaseStatus No
notes StringNullableWithAggregatesFilter | String | Null Yes
createdAt DateTimeWithAggregatesFilter | DateTime No
updatedAt DateTimeWithAggregatesFilter | DateTime No

PurchaseItemWhereInput

Name Type Nullable
AND PurchaseItemWhereInput | PurchaseItemWhereInput[] No
OR PurchaseItemWhereInput[] No
NOT PurchaseItemWhereInput | PurchaseItemWhereInput[] No
id StringFilter | String No
purchaseId StringFilter | String No
productVariantId StringFilter | String No
quantity IntFilter | Int No
price DecimalFilter | Decimal No
discount DecimalFilter | Decimal No
total DecimalFilter | Decimal No
purchase PurchaseScalarRelationFilter | PurchaseWhereInput No
product_variant ProductVariantScalarRelationFilter | ProductVariantWhereInput No

PurchaseItemOrderByWithRelationInput

Name Type Nullable
id SortOrder No
purchaseId SortOrder No
productVariantId SortOrder No
quantity SortOrder No
price SortOrder No
discount SortOrder No
total SortOrder No
purchase PurchaseOrderByWithRelationInput No
product_variant ProductVariantOrderByWithRelationInput No

PurchaseItemWhereUniqueInput

Name Type Nullable
id String No
AND PurchaseItemWhereInput | PurchaseItemWhereInput[] No
OR PurchaseItemWhereInput[] No
NOT PurchaseItemWhereInput | PurchaseItemWhereInput[] No
purchaseId StringFilter | String No
productVariantId StringFilter | String No
quantity IntFilter | Int No
price DecimalFilter | Decimal No
discount DecimalFilter | Decimal No
total DecimalFilter | Decimal No
purchase PurchaseScalarRelationFilter | PurchaseWhereInput No
product_variant ProductVariantScalarRelationFilter | ProductVariantWhereInput No

PurchaseItemOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
purchaseId SortOrder No
productVariantId SortOrder No
quantity SortOrder No
price SortOrder No
discount SortOrder No
total SortOrder No
_count PurchaseItemCountOrderByAggregateInput No
_avg PurchaseItemAvgOrderByAggregateInput No
_max PurchaseItemMaxOrderByAggregateInput No
_min PurchaseItemMinOrderByAggregateInput No
_sum PurchaseItemSumOrderByAggregateInput No


InstallmentWhereInput

Name Type Nullable
AND InstallmentWhereInput | InstallmentWhereInput[] No
OR InstallmentWhereInput[] No
NOT InstallmentWhereInput | InstallmentWhereInput[] No
id StringFilter | String No
saleId StringFilter | String No
customerId StringFilter | String No
totalAmount DecimalFilter | Decimal No
initialPayment DecimalFilter | Decimal No
paidAmount DecimalFilter | Decimal No
remaining DecimalFilter | Decimal No
totalMonths IntFilter | Int No
monthsLeft IntFilter | Int No
monthlyPayment DecimalFilter | Decimal No
dueDate DateTimeFilter | DateTime No
status EnumInstallmentStatusFilter | InstallmentStatus No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
sale SaleScalarRelationFilter | SaleWhereInput No
customer OrganizationCustomerScalarRelationFilter | OrganizationCustomerWhereInput No
payments InstallmentPaymentListRelationFilter No

InstallmentOrderByWithRelationInput

Name Type Nullable
id SortOrder No
saleId SortOrder No
customerId SortOrder No
totalAmount SortOrder No
initialPayment SortOrder No
paidAmount SortOrder No
remaining SortOrder No
totalMonths SortOrder No
monthsLeft SortOrder No
monthlyPayment SortOrder No
dueDate SortOrder No
status SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
sale SaleOrderByWithRelationInput No
customer OrganizationCustomerOrderByWithRelationInput No
payments InstallmentPaymentOrderByRelationAggregateInput No

InstallmentWhereUniqueInput

Name Type Nullable
id String No
AND InstallmentWhereInput | InstallmentWhereInput[] No
OR InstallmentWhereInput[] No
NOT InstallmentWhereInput | InstallmentWhereInput[] No
saleId StringFilter | String No
customerId StringFilter | String No
totalAmount DecimalFilter | Decimal No
initialPayment DecimalFilter | Decimal No
paidAmount DecimalFilter | Decimal No
remaining DecimalFilter | Decimal No
totalMonths IntFilter | Int No
monthsLeft IntFilter | Int No
monthlyPayment DecimalFilter | Decimal No
dueDate DateTimeFilter | DateTime No
status EnumInstallmentStatusFilter | InstallmentStatus No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
sale SaleScalarRelationFilter | SaleWhereInput No
customer OrganizationCustomerScalarRelationFilter | OrganizationCustomerWhereInput No
payments InstallmentPaymentListRelationFilter No

InstallmentOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
saleId SortOrder No
customerId SortOrder No
totalAmount SortOrder No
initialPayment SortOrder No
paidAmount SortOrder No
remaining SortOrder No
totalMonths SortOrder No
monthsLeft SortOrder No
monthlyPayment SortOrder No
dueDate SortOrder No
status SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count InstallmentCountOrderByAggregateInput No
_avg InstallmentAvgOrderByAggregateInput No
_max InstallmentMaxOrderByAggregateInput No
_min InstallmentMinOrderByAggregateInput No
_sum InstallmentSumOrderByAggregateInput No

InstallmentScalarWhereWithAggregatesInput

Name Type Nullable
AND InstallmentScalarWhereWithAggregatesInput | InstallmentScalarWhereWithAggregatesInput[] No
OR InstallmentScalarWhereWithAggregatesInput[] No
NOT InstallmentScalarWhereWithAggregatesInput | InstallmentScalarWhereWithAggregatesInput[] No
id StringWithAggregatesFilter | String No
saleId StringWithAggregatesFilter | String No
customerId StringWithAggregatesFilter | String No
totalAmount DecimalWithAggregatesFilter | Decimal No
initialPayment DecimalWithAggregatesFilter | Decimal No
paidAmount DecimalWithAggregatesFilter | Decimal No
remaining DecimalWithAggregatesFilter | Decimal No
totalMonths IntWithAggregatesFilter | Int No
monthsLeft IntWithAggregatesFilter | Int No
monthlyPayment DecimalWithAggregatesFilter | Decimal No
dueDate DateTimeWithAggregatesFilter | DateTime No
status EnumInstallmentStatusWithAggregatesFilter | InstallmentStatus No
createdAt DateTimeWithAggregatesFilter | DateTime No
updatedAt DateTimeWithAggregatesFilter | DateTime No

InstallmentPaymentWhereInput

Name Type Nullable
AND InstallmentPaymentWhereInput | InstallmentPaymentWhereInput[] No
OR InstallmentPaymentWhereInput[] No
NOT InstallmentPaymentWhereInput | InstallmentPaymentWhereInput[] No
id StringFilter | String No
installmentId StringFilter | String No
amount DecimalFilter | Decimal No
paidAt DateTimeFilter | DateTime No
paymentMethod StringNullableFilter | String | Null Yes
note StringNullableFilter | String | Null Yes
createdById StringNullableFilter | String | Null Yes
paymentId StringNullableFilter | String | Null Yes
installment InstallmentScalarRelationFilter | InstallmentWhereInput No
created_by UserNullableScalarRelationFilter | UserWhereInput | Null Yes
payment PaymentNullableScalarRelationFilter | PaymentWhereInput | Null Yes

InstallmentPaymentOrderByWithRelationInput

Name Type Nullable
id SortOrder No
installmentId SortOrder No
amount SortOrder No
paidAt SortOrder No
paymentMethod SortOrder | SortOrderInput No
note SortOrder | SortOrderInput No
createdById SortOrder | SortOrderInput No
paymentId SortOrder | SortOrderInput No
installment InstallmentOrderByWithRelationInput No
created_by UserOrderByWithRelationInput No
payment PaymentOrderByWithRelationInput No

InstallmentPaymentWhereUniqueInput

Name Type Nullable
id String No
AND InstallmentPaymentWhereInput | InstallmentPaymentWhereInput[] No
OR InstallmentPaymentWhereInput[] No
NOT InstallmentPaymentWhereInput | InstallmentPaymentWhereInput[] No
installmentId StringFilter | String No
amount DecimalFilter | Decimal No
paidAt DateTimeFilter | DateTime No
paymentMethod StringNullableFilter | String | Null Yes
note StringNullableFilter | String | Null Yes
createdById StringNullableFilter | String | Null Yes
paymentId StringNullableFilter | String | Null Yes
installment InstallmentScalarRelationFilter | InstallmentWhereInput No
created_by UserNullableScalarRelationFilter | UserWhereInput | Null Yes
payment PaymentNullableScalarRelationFilter | PaymentWhereInput | Null Yes

InstallmentPaymentOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
installmentId SortOrder No
amount SortOrder No
paidAt SortOrder No
paymentMethod SortOrder | SortOrderInput No
note SortOrder | SortOrderInput No
createdById SortOrder | SortOrderInput No
paymentId SortOrder | SortOrderInput No
_count InstallmentPaymentCountOrderByAggregateInput No
_avg InstallmentPaymentAvgOrderByAggregateInput No
_max InstallmentPaymentMaxOrderByAggregateInput No
_min InstallmentPaymentMinOrderByAggregateInput No
_sum InstallmentPaymentSumOrderByAggregateInput No


DocumentWhereInput

Name Type Nullable
AND DocumentWhereInput | DocumentWhereInput[] No
OR DocumentWhereInput[] No
NOT DocumentWhereInput | DocumentWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
customerId StringNullableFilter | String | Null Yes
saleId StringNullableFilter | String | Null Yes
type EnumDocumentTypeFilter | DocumentType No
fileUrl StringFilter | String No
uploadedById StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
uploadedBy UserNullableScalarRelationFilter | UserWhereInput | Null Yes
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
customer OrganizationCustomerNullableScalarRelationFilter | OrganizationCustomerWhereInput | Null Yes
sale SaleNullableScalarRelationFilter | SaleWhereInput | Null Yes

DocumentOrderByWithRelationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
customerId SortOrder | SortOrderInput No
saleId SortOrder | SortOrderInput No
type SortOrder No
fileUrl SortOrder No
uploadedById SortOrder | SortOrderInput No
createdAt SortOrder No
uploadedBy UserOrderByWithRelationInput No
organization OrganizationOrderByWithRelationInput No
customer OrganizationCustomerOrderByWithRelationInput No
sale SaleOrderByWithRelationInput No

DocumentWhereUniqueInput

Name Type Nullable
id String No
AND DocumentWhereInput | DocumentWhereInput[] No
OR DocumentWhereInput[] No
NOT DocumentWhereInput | DocumentWhereInput[] No
organizationId StringFilter | String No
customerId StringNullableFilter | String | Null Yes
saleId StringNullableFilter | String | Null Yes
type EnumDocumentTypeFilter | DocumentType No
fileUrl StringFilter | String No
uploadedById StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
uploadedBy UserNullableScalarRelationFilter | UserWhereInput | Null Yes
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
customer OrganizationCustomerNullableScalarRelationFilter | OrganizationCustomerWhereInput | Null Yes
sale SaleNullableScalarRelationFilter | SaleWhereInput | Null Yes

DocumentOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
customerId SortOrder | SortOrderInput No
saleId SortOrder | SortOrderInput No
type SortOrder No
fileUrl SortOrder No
uploadedById SortOrder | SortOrderInput No
createdAt SortOrder No
_count DocumentCountOrderByAggregateInput No
_max DocumentMaxOrderByAggregateInput No
_min DocumentMinOrderByAggregateInput No


SettingsWhereInput

Name Type Nullable
AND SettingsWhereInput | SettingsWhereInput[] No
OR SettingsWhereInput[] No
NOT SettingsWhereInput | SettingsWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
baseCurrencyId StringFilter | String No
language StringNullableFilter | String | Null Yes
dateFormat StringNullableFilter | String | Null Yes
enableInstallment BoolFilter | Boolean No
enableNotifications BoolFilter | Boolean No
enableAutoRateUpdate BoolFilter | Boolean No
taxPercent DecimalNullableFilter | Decimal | Null Yes
logoUrl StringNullableFilter | String | Null Yes
theme EnumThemeTypeFilter | ThemeType No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
baseCurrency CurrencyScalarRelationFilter | CurrencyWhereInput No

SettingsOrderByWithRelationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
baseCurrencyId SortOrder No
language SortOrder | SortOrderInput No
dateFormat SortOrder | SortOrderInput No
enableInstallment SortOrder No
enableNotifications SortOrder No
enableAutoRateUpdate SortOrder No
taxPercent SortOrder | SortOrderInput No
logoUrl SortOrder | SortOrderInput No
theme SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
organization OrganizationOrderByWithRelationInput No
baseCurrency CurrencyOrderByWithRelationInput No

SettingsWhereUniqueInput

Name Type Nullable
id String No
organizationId String No
AND SettingsWhereInput | SettingsWhereInput[] No
OR SettingsWhereInput[] No
NOT SettingsWhereInput | SettingsWhereInput[] No
baseCurrencyId StringFilter | String No
language StringNullableFilter | String | Null Yes
dateFormat StringNullableFilter | String | Null Yes
enableInstallment BoolFilter | Boolean No
enableNotifications BoolFilter | Boolean No
enableAutoRateUpdate BoolFilter | Boolean No
taxPercent DecimalNullableFilter | Decimal | Null Yes
logoUrl StringNullableFilter | String | Null Yes
theme EnumThemeTypeFilter | ThemeType No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
baseCurrency CurrencyScalarRelationFilter | CurrencyWhereInput No

SettingsOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
baseCurrencyId SortOrder No
language SortOrder | SortOrderInput No
dateFormat SortOrder | SortOrderInput No
enableInstallment SortOrder No
enableNotifications SortOrder No
enableAutoRateUpdate SortOrder No
taxPercent SortOrder | SortOrderInput No
logoUrl SortOrder | SortOrderInput No
theme SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count SettingsCountOrderByAggregateInput No
_avg SettingsAvgOrderByAggregateInput No
_max SettingsMaxOrderByAggregateInput No
_min SettingsMinOrderByAggregateInput No
_sum SettingsSumOrderByAggregateInput No

SettingsScalarWhereWithAggregatesInput

Name Type Nullable
AND SettingsScalarWhereWithAggregatesInput | SettingsScalarWhereWithAggregatesInput[] No
OR SettingsScalarWhereWithAggregatesInput[] No
NOT SettingsScalarWhereWithAggregatesInput | SettingsScalarWhereWithAggregatesInput[] No
id StringWithAggregatesFilter | String No
organizationId StringWithAggregatesFilter | String No
baseCurrencyId StringWithAggregatesFilter | String No
language StringNullableWithAggregatesFilter | String | Null Yes
dateFormat StringNullableWithAggregatesFilter | String | Null Yes
enableInstallment BoolWithAggregatesFilter | Boolean No
enableNotifications BoolWithAggregatesFilter | Boolean No
enableAutoRateUpdate BoolWithAggregatesFilter | Boolean No
taxPercent DecimalNullableWithAggregatesFilter | Decimal | Null Yes
logoUrl StringNullableWithAggregatesFilter | String | Null Yes
theme EnumThemeTypeWithAggregatesFilter | ThemeType No
createdAt DateTimeWithAggregatesFilter | DateTime No
updatedAt DateTimeWithAggregatesFilter | DateTime No

AuditLogWhereInput

Name Type Nullable
AND AuditLogWhereInput | AuditLogWhereInput[] No
OR AuditLogWhereInput[] No
NOT AuditLogWhereInput | AuditLogWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
userId StringNullableFilter | String | Null Yes
action StringFilter | String No
entity StringFilter | String No
entityId StringNullableFilter | String | Null Yes
oldValue JsonNullableFilter No
newValue JsonNullableFilter No
note StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
user UserNullableScalarRelationFilter | UserWhereInput | Null Yes

AuditLogOrderByWithRelationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder | SortOrderInput No
action SortOrder No
entity SortOrder No
entityId SortOrder | SortOrderInput No
oldValue SortOrder | SortOrderInput No
newValue SortOrder | SortOrderInput No
note SortOrder | SortOrderInput No
createdAt SortOrder No
organization OrganizationOrderByWithRelationInput No
user UserOrderByWithRelationInput No

AuditLogWhereUniqueInput

Name Type Nullable
id String No
AND AuditLogWhereInput | AuditLogWhereInput[] No
OR AuditLogWhereInput[] No
NOT AuditLogWhereInput | AuditLogWhereInput[] No
organizationId StringFilter | String No
userId StringNullableFilter | String | Null Yes
action StringFilter | String No
entity StringFilter | String No
entityId StringNullableFilter | String | Null Yes
oldValue JsonNullableFilter No
newValue JsonNullableFilter No
note StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
organization OrganizationScalarRelationFilter | OrganizationWhereInput No
user UserNullableScalarRelationFilter | UserWhereInput | Null Yes

AuditLogOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder | SortOrderInput No
action SortOrder No
entity SortOrder No
entityId SortOrder | SortOrderInput No
oldValue SortOrder | SortOrderInput No
newValue SortOrder | SortOrderInput No
note SortOrder | SortOrderInput No
createdAt SortOrder No
_count AuditLogCountOrderByAggregateInput No
_max AuditLogMaxOrderByAggregateInput No
_min AuditLogMinOrderByAggregateInput No

AuditLogScalarWhereWithAggregatesInput

Name Type Nullable
AND AuditLogScalarWhereWithAggregatesInput | AuditLogScalarWhereWithAggregatesInput[] No
OR AuditLogScalarWhereWithAggregatesInput[] No
NOT AuditLogScalarWhereWithAggregatesInput | AuditLogScalarWhereWithAggregatesInput[] No
id StringWithAggregatesFilter | String No
organizationId StringWithAggregatesFilter | String No
userId StringNullableWithAggregatesFilter | String | Null Yes
action StringWithAggregatesFilter | String No
entity StringWithAggregatesFilter | String No
entityId StringNullableWithAggregatesFilter | String | Null Yes
oldValue JsonNullableWithAggregatesFilter No
newValue JsonNullableWithAggregatesFilter No
note StringNullableWithAggregatesFilter | String | Null Yes
createdAt DateTimeWithAggregatesFilter | DateTime No

CurrencyCreateInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceCreateNestedManyWithoutCurrencyInput No
kassas KassaCreateNestedManyWithoutCurrencyInput No
payments PaymentCreateNestedManyWithoutCurrencyInput No
transactions TransactionCreateNestedManyWithoutCurrencyInput No
sales SaleCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemCreateNestedManyWithoutCurrencyInput No
purchases PurchaseCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferCreateNestedManyWithoutTo_currencyInput No
settings SettingsCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantCreateNestedManyWithoutCurrencyInput No

CurrencyUncheckedCreateInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput No
kassas KassaUncheckedCreateNestedManyWithoutCurrencyInput No
payments PaymentUncheckedCreateNestedManyWithoutCurrencyInput No
transactions TransactionUncheckedCreateNestedManyWithoutCurrencyInput No
sales SaleUncheckedCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemUncheckedCreateNestedManyWithoutCurrencyInput No
purchases PurchaseUncheckedCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput No
settings SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantUncheckedCreateNestedManyWithoutCurrencyInput No

CurrencyUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUpdateManyWithoutCurrencyNestedInput No
kassas KassaUpdateManyWithoutCurrencyNestedInput No
payments PaymentUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUpdateManyWithoutCurrencyNestedInput No
sales SaleUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUpdateManyWithoutCurrencyNestedInput No

CurrencyUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput No
kassas KassaUncheckedUpdateManyWithoutCurrencyNestedInput No
payments PaymentUncheckedUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCurrencyNestedInput No
sales SaleUncheckedUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUncheckedUpdateManyWithoutCurrencyNestedInput No

CurrencyCreateManyInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No

CurrencyUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

CurrencyUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

CurrencyRateCreateInput

Name Type Nullable
id String No
baseCurrency String No
targetCurrency String No
rate Decimal No
date DateTime No

CurrencyRateUncheckedCreateInput

Name Type Nullable
id String No
baseCurrency String No
targetCurrency String No
rate Decimal No
date DateTime No

CurrencyRateUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
baseCurrency String | StringFieldUpdateOperationsInput No
targetCurrency String | StringFieldUpdateOperationsInput No
rate Decimal | DecimalFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No

CurrencyRateUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
baseCurrency String | StringFieldUpdateOperationsInput No
targetCurrency String | StringFieldUpdateOperationsInput No
rate Decimal | DecimalFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No

CurrencyRateCreateManyInput

Name Type Nullable
id String No
baseCurrency String No
targetCurrency String No
rate Decimal No
date DateTime No

CurrencyRateUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
baseCurrency String | StringFieldUpdateOperationsInput No
targetCurrency String | StringFieldUpdateOperationsInput No
rate Decimal | DecimalFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No

CurrencyRateUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
baseCurrency String | StringFieldUpdateOperationsInput No
targetCurrency String | StringFieldUpdateOperationsInput No
rate Decimal | DecimalFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No

OrganizationCreateInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerCreateNestedManyWithoutOrganizationInput No
products ProductCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceCreateNestedManyWithoutOrganizationInput No
kassas KassaCreateNestedManyWithoutOrganizationInput No
payments PaymentCreateNestedManyWithoutOrganizationInput No
transactions TransactionCreateNestedManyWithoutOrganizationInput No
sales SaleCreateNestedManyWithoutOrganizationInput No
purchases PurchaseCreateNestedManyWithoutOrganizationInput No
stocks StockCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferCreateNestedManyWithoutOrganizationInput No
settings SettingsCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogCreateNestedManyWithoutOrganizationInput No
documents DocumentCreateNestedManyWithoutOrganizationInput No

OrganizationUncheckedCreateInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserUncheckedCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerUncheckedCreateNestedManyWithoutOrganizationInput No
products ProductUncheckedCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceUncheckedCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutOrganizationInput No
kassas KassaUncheckedCreateNestedManyWithoutOrganizationInput No
payments PaymentUncheckedCreateNestedManyWithoutOrganizationInput No
transactions TransactionUncheckedCreateNestedManyWithoutOrganizationInput No
sales SaleUncheckedCreateNestedManyWithoutOrganizationInput No
purchases PurchaseUncheckedCreateNestedManyWithoutOrganizationInput No
stocks StockUncheckedCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferUncheckedCreateNestedManyWithoutOrganizationInput No
settings SettingsUncheckedCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutOrganizationInput No
documents DocumentUncheckedCreateNestedManyWithoutOrganizationInput No

OrganizationUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUpdateManyWithoutOrganizationNestedInput No
products ProductUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUpdateManyWithoutOrganizationNestedInput No
kassas KassaUpdateManyWithoutOrganizationNestedInput No
payments PaymentUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUpdateManyWithoutOrganizationNestedInput No
sales SaleUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUpdateManyWithoutOrganizationNestedInput No
stocks StockUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUpdateManyWithoutOrganizationNestedInput No
settings SettingsUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUpdateManyWithoutOrganizationNestedInput No
documents DocumentUpdateManyWithoutOrganizationNestedInput No

OrganizationUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUncheckedUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUncheckedUpdateManyWithoutOrganizationNestedInput No
products ProductUncheckedUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUncheckedUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutOrganizationNestedInput No
kassas KassaUncheckedUpdateManyWithoutOrganizationNestedInput No
payments PaymentUncheckedUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUncheckedUpdateManyWithoutOrganizationNestedInput No
sales SaleUncheckedUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutOrganizationNestedInput No
stocks StockUncheckedUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUncheckedUpdateManyWithoutOrganizationNestedInput No
settings SettingsUncheckedUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput No
documents DocumentUncheckedUpdateManyWithoutOrganizationNestedInput No

OrganizationCreateManyInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No

OrganizationUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

OrganizationUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserCreateInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
profile UserProfileCreateNestedOneWithoutUserInput No
role RoleCreateNestedOneWithoutUsersInput No
org_links OrganizationUserCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerCreateNestedManyWithoutUserInput No
payments PaymentCreateNestedManyWithoutUserInput No
sales SaleCreateNestedManyWithoutResponsibleInput No
purchases PurchaseCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneCreateNestedManyWithoutUserInput No
audit_logs AuditLogCreateNestedManyWithoutUserInput No
documents DocumentCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutCreated_byInput No

UserUncheckedCreateInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
roleId String | Null Yes
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
org_links OrganizationUserUncheckedCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput No
payments PaymentUncheckedCreateNestedManyWithoutUserInput No
sales SaleUncheckedCreateNestedManyWithoutResponsibleInput No
purchases PurchaseUncheckedCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneUncheckedCreateNestedManyWithoutUserInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutUserInput No
documents DocumentUncheckedCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput No

UserUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
profile UserProfileUpdateOneWithoutUserNestedInput No
role RoleUpdateOneWithoutUsersNestedInput No
org_links OrganizationUserUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUpdateManyWithoutUserNestedInput No
payments PaymentUpdateManyWithoutUserNestedInput No
sales SaleUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUpdateManyWithoutUserNestedInput No
documents DocumentUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUpdateManyWithoutCreated_byNestedInput No

UserUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
roleId String | NullableStringFieldUpdateOperationsInput | Null Yes
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
org_links OrganizationUserUncheckedUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUncheckedUpdateManyWithoutUserNestedInput No
payments PaymentUncheckedUpdateManyWithoutUserNestedInput No
sales SaleUncheckedUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUncheckedUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutUserNestedInput No
documents DocumentUncheckedUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutCreated_byNestedInput No

UserCreateManyInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
roleId String | Null Yes

UserUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
roleId String | NullableStringFieldUpdateOperationsInput | Null Yes

UserProfileCreateInput

Name Type Nullable
id String No
firstName String No
lastName String No
patronymic String | Null Yes
dateOfBirth DateTime | Null Yes
gender Gender No
passportSeries String | Null Yes
passportNumber String | Null Yes
issuedBy String | Null Yes
issuedDate DateTime | Null Yes
expiryDate DateTime | Null Yes
country String | Null Yes
region String | Null Yes
city String | Null Yes
address String | Null Yes
registration String | Null Yes
district String | Null Yes
user UserCreateNestedOneWithoutProfileInput No

UserProfileUncheckedCreateInput

Name Type Nullable
id String No
userId String No
firstName String No
lastName String No
patronymic String | Null Yes
dateOfBirth DateTime | Null Yes
gender Gender No
passportSeries String | Null Yes
passportNumber String | Null Yes
issuedBy String | Null Yes
issuedDate DateTime | Null Yes
expiryDate DateTime | Null Yes
country String | Null Yes
region String | Null Yes
city String | Null Yes
address String | Null Yes
registration String | Null Yes
district String | Null Yes

UserProfileUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
dateOfBirth DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
gender Gender | EnumGenderFieldUpdateOperationsInput No
passportSeries String | NullableStringFieldUpdateOperationsInput | Null Yes
passportNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
issuedBy String | NullableStringFieldUpdateOperationsInput | Null Yes
issuedDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
expiryDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
country String | NullableStringFieldUpdateOperationsInput | Null Yes
region String | NullableStringFieldUpdateOperationsInput | Null Yes
city String | NullableStringFieldUpdateOperationsInput | Null Yes
address String | NullableStringFieldUpdateOperationsInput | Null Yes
registration String | NullableStringFieldUpdateOperationsInput | Null Yes
district String | NullableStringFieldUpdateOperationsInput | Null Yes
user UserUpdateOneRequiredWithoutProfileNestedInput No

UserProfileUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
userId String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
dateOfBirth DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
gender Gender | EnumGenderFieldUpdateOperationsInput No
passportSeries String | NullableStringFieldUpdateOperationsInput | Null Yes
passportNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
issuedBy String | NullableStringFieldUpdateOperationsInput | Null Yes
issuedDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
expiryDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
country String | NullableStringFieldUpdateOperationsInput | Null Yes
region String | NullableStringFieldUpdateOperationsInput | Null Yes
city String | NullableStringFieldUpdateOperationsInput | Null Yes
address String | NullableStringFieldUpdateOperationsInput | Null Yes
registration String | NullableStringFieldUpdateOperationsInput | Null Yes
district String | NullableStringFieldUpdateOperationsInput | Null Yes

UserProfileCreateManyInput

Name Type Nullable
id String No
userId String No
firstName String No
lastName String No
patronymic String | Null Yes
dateOfBirth DateTime | Null Yes
gender Gender No
passportSeries String | Null Yes
passportNumber String | Null Yes
issuedBy String | Null Yes
issuedDate DateTime | Null Yes
expiryDate DateTime | Null Yes
country String | Null Yes
region String | Null Yes
city String | Null Yes
address String | Null Yes
registration String | Null Yes
district String | Null Yes

UserProfileUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
dateOfBirth DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
gender Gender | EnumGenderFieldUpdateOperationsInput No
passportSeries String | NullableStringFieldUpdateOperationsInput | Null Yes
passportNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
issuedBy String | NullableStringFieldUpdateOperationsInput | Null Yes
issuedDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
expiryDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
country String | NullableStringFieldUpdateOperationsInput | Null Yes
region String | NullableStringFieldUpdateOperationsInput | Null Yes
city String | NullableStringFieldUpdateOperationsInput | Null Yes
address String | NullableStringFieldUpdateOperationsInput | Null Yes
registration String | NullableStringFieldUpdateOperationsInput | Null Yes
district String | NullableStringFieldUpdateOperationsInput | Null Yes

UserProfileUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
userId String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
dateOfBirth DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
gender Gender | EnumGenderFieldUpdateOperationsInput No
passportSeries String | NullableStringFieldUpdateOperationsInput | Null Yes
passportNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
issuedBy String | NullableStringFieldUpdateOperationsInput | Null Yes
issuedDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
expiryDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
country String | NullableStringFieldUpdateOperationsInput | Null Yes
region String | NullableStringFieldUpdateOperationsInput | Null Yes
city String | NullableStringFieldUpdateOperationsInput | Null Yes
address String | NullableStringFieldUpdateOperationsInput | Null Yes
registration String | NullableStringFieldUpdateOperationsInput | Null Yes
district String | NullableStringFieldUpdateOperationsInput | Null Yes

RoleCreateInput

Name Type Nullable
id String No
name String No
description String | Null Yes
users UserCreateNestedManyWithoutRoleInput No

RoleUncheckedCreateInput

Name Type Nullable
id String No
name String No
description String | Null Yes
users UserUncheckedCreateNestedManyWithoutRoleInput No

RoleUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
users UserUpdateManyWithoutRoleNestedInput No

RoleUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
users UserUncheckedUpdateManyWithoutRoleNestedInput No

RoleCreateManyInput

Name Type Nullable
id String No
name String No
description String | Null Yes

RoleUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

RoleUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

UserPhoneCreateInput

Name Type Nullable
id String No
phone String No
note String | Null Yes
isPrimary Boolean No
createdAt DateTime No
updatedAt DateTime No
user UserCreateNestedOneWithoutPhone_numbersInput No

UserPhoneUncheckedCreateInput

Name Type Nullable
id String No
userId String No
phone String No
note String | Null Yes
isPrimary Boolean No
createdAt DateTime No
updatedAt DateTime No

UserPhoneUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
phone String | StringFieldUpdateOperationsInput No
note String | NullableStringFieldUpdateOperationsInput | Null Yes
isPrimary Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
user UserUpdateOneRequiredWithoutPhone_numbersNestedInput No

UserPhoneUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
userId String | StringFieldUpdateOperationsInput No
phone String | StringFieldUpdateOperationsInput No
note String | NullableStringFieldUpdateOperationsInput | Null Yes
isPrimary Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserPhoneCreateManyInput

Name Type Nullable
id String No
userId String No
phone String No
note String | Null Yes
isPrimary Boolean No
createdAt DateTime No
updatedAt DateTime No

UserPhoneUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
phone String | StringFieldUpdateOperationsInput No
note String | NullableStringFieldUpdateOperationsInput | Null Yes
isPrimary Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserPhoneUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
userId String | StringFieldUpdateOperationsInput No
phone String | StringFieldUpdateOperationsInput No
note String | NullableStringFieldUpdateOperationsInput | Null Yes
isPrimary Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

OrganizationUserCreateInput

Name Type Nullable
id String No
role OrgUserRole No
position String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutOrg_usersInput No
user UserCreateNestedOneWithoutOrg_linksInput No

OrganizationUserUncheckedCreateInput

Name Type Nullable
id String No
organizationId String No
userId String No
role OrgUserRole No
position String | Null Yes
createdAt DateTime No
updatedAt DateTime No


OrganizationUserUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | StringFieldUpdateOperationsInput No
role OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput No
position String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

OrganizationUserCreateManyInput

Name Type Nullable
id String No
organizationId String No
userId String No
role OrgUserRole No
position String | Null Yes
createdAt DateTime No
updatedAt DateTime No

OrganizationUserUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
role OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput No
position String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

OrganizationUserUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | StringFieldUpdateOperationsInput No
role OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput No
position String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

OrganizationCustomerCreateInput

Name Type Nullable
id String No
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutCustomersInput No
user UserCreateNestedOneWithoutCutomer_linksInput No
product_instances ProductInstanceCreateNestedManyWithoutCurrent_ownerInput No
payments PaymentCreateNestedManyWithoutCustomerInput No
transactions TransactionCreateNestedManyWithoutCustomerInput No
sales SaleCreateNestedManyWithoutCustomerInput No
purchases PurchaseCreateNestedManyWithoutSupplierInput No
installments InstallmentCreateNestedManyWithoutCustomerInput No
documents DocumentCreateNestedManyWithoutCustomerInput No

OrganizationCustomerUncheckedCreateInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput No
payments PaymentUncheckedCreateNestedManyWithoutCustomerInput No
transactions TransactionUncheckedCreateNestedManyWithoutCustomerInput No
sales SaleUncheckedCreateNestedManyWithoutCustomerInput No
purchases PurchaseUncheckedCreateNestedManyWithoutSupplierInput No
installments InstallmentUncheckedCreateNestedManyWithoutCustomerInput No
documents DocumentUncheckedCreateNestedManyWithoutCustomerInput No

OrganizationCustomerUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutCustomersNestedInput No
user UserUpdateOneWithoutCutomer_linksNestedInput No
product_instances ProductInstanceUpdateManyWithoutCurrent_ownerNestedInput No
payments PaymentUpdateManyWithoutCustomerNestedInput No
transactions TransactionUpdateManyWithoutCustomerNestedInput No
sales SaleUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUpdateManyWithoutSupplierNestedInput No
installments InstallmentUpdateManyWithoutCustomerNestedInput No
documents DocumentUpdateManyWithoutCustomerNestedInput No

OrganizationCustomerUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutCurrent_ownerNestedInput No
payments PaymentUncheckedUpdateManyWithoutCustomerNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCustomerNestedInput No
sales SaleUncheckedUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutSupplierNestedInput No
installments InstallmentUncheckedUpdateManyWithoutCustomerNestedInput No
documents DocumentUncheckedUpdateManyWithoutCustomerNestedInput No

OrganizationCustomerCreateManyInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No

OrganizationCustomerUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

OrganizationCustomerUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

BrandCreateInput

Name Type Nullable
id String No
name String No
createdAt DateTime No
updatedAt DateTime No
products ProductCreateNestedManyWithoutBrandInput No

BrandUncheckedCreateInput

Name Type Nullable
id String No
name String No
createdAt DateTime No
updatedAt DateTime No
products ProductUncheckedCreateNestedManyWithoutBrandInput No

BrandUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
products ProductUpdateManyWithoutBrandNestedInput No

BrandUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
products ProductUncheckedUpdateManyWithoutBrandNestedInput No

BrandCreateManyInput

Name Type Nullable
id String No
name String No
createdAt DateTime No
updatedAt DateTime No

BrandUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

BrandUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductImageCreateInput

Name Type Nullable
id String No
url String No
alt String | Null Yes
isPrimary Boolean No
sortOrder Int No
createdAt DateTime No
product ProductCreateNestedOneWithoutImagesInput No
productVariant ProductVariantCreateNestedOneWithoutImagesInput No

ProductImageUncheckedCreateInput

Name Type Nullable
id String No
productId String | Null Yes
productVariantId String | Null Yes
url String No
alt String | Null Yes
isPrimary Boolean No
sortOrder Int No
createdAt DateTime No

ProductImageUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
url String | StringFieldUpdateOperationsInput No
alt String | NullableStringFieldUpdateOperationsInput | Null Yes
isPrimary Boolean | BoolFieldUpdateOperationsInput No
sortOrder Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
product ProductUpdateOneWithoutImagesNestedInput No
productVariant ProductVariantUpdateOneWithoutImagesNestedInput No

ProductImageUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | NullableStringFieldUpdateOperationsInput | Null Yes
productVariantId String | NullableStringFieldUpdateOperationsInput | Null Yes
url String | StringFieldUpdateOperationsInput No
alt String | NullableStringFieldUpdateOperationsInput | Null Yes
isPrimary Boolean | BoolFieldUpdateOperationsInput No
sortOrder Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductImageCreateManyInput

Name Type Nullable
id String No
productId String | Null Yes
productVariantId String | Null Yes
url String No
alt String | Null Yes
isPrimary Boolean No
sortOrder Int No
createdAt DateTime No

ProductImageUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
url String | StringFieldUpdateOperationsInput No
alt String | NullableStringFieldUpdateOperationsInput | Null Yes
isPrimary Boolean | BoolFieldUpdateOperationsInput No
sortOrder Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductImageUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | NullableStringFieldUpdateOperationsInput | Null Yes
productVariantId String | NullableStringFieldUpdateOperationsInput | Null Yes
url String | StringFieldUpdateOperationsInput No
alt String | NullableStringFieldUpdateOperationsInput | Null Yes
isPrimary Boolean | BoolFieldUpdateOperationsInput No
sortOrder Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductCreateInput

Name Type Nullable
id String No
code String No
name String No
description String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutProductsInput No
brand BrandCreateNestedOneWithoutProductsInput No
categories ProductCategoryCreateNestedManyWithoutProductInput No
prices ProductPriceCreateNestedManyWithoutProductInput No
variants ProductVariantCreateNestedManyWithoutProductInput No
images ProductImageCreateNestedManyWithoutProductInput No

ProductUncheckedCreateInput

Name Type Nullable
id String No
code String No
organizationId String No
name String No
description String | Null Yes
brandId String | Null Yes
createdAt DateTime No
updatedAt DateTime No
categories ProductCategoryUncheckedCreateNestedManyWithoutProductInput No
prices ProductPriceUncheckedCreateNestedManyWithoutProductInput No
variants ProductVariantUncheckedCreateNestedManyWithoutProductInput No
images ProductImageUncheckedCreateNestedManyWithoutProductInput No



ProductCreateManyInput

Name Type Nullable
id String No
code String No
organizationId String No
name String No
description String | Null Yes
brandId String | Null Yes
createdAt DateTime No
updatedAt DateTime No

ProductUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
brandId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductVariantCreateInput

Name Type Nullable
id String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
createdAt DateTime No
updatedAt DateTime No
currency CurrencyCreateNestedOneWithoutProduct_variantInput No
product ProductCreateNestedOneWithoutVariantsInput No
product_instance ProductInstanceCreateNestedManyWithoutProductVariantInput No
product_variant_attribute ProductVariantAttributeCreateNestedManyWithoutVariantInput No
product_batches ProductBatchCreateNestedManyWithoutProduct_variantInput No
stocks StockCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemCreateNestedManyWithoutProduct_variantInput No
images ProductImageCreateNestedManyWithoutProductVariantInput No

ProductVariantUncheckedCreateInput

Name Type Nullable
id String No
productId String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
currencyId String | Null Yes
createdAt DateTime No
updatedAt DateTime No
product_instance ProductInstanceUncheckedCreateNestedManyWithoutProductVariantInput No
product_variant_attribute ProductVariantAttributeUncheckedCreateNestedManyWithoutVariantInput No
product_batches ProductBatchUncheckedCreateNestedManyWithoutProduct_variantInput No
stocks StockUncheckedCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemUncheckedCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemUncheckedCreateNestedManyWithoutProduct_variantInput No
images ProductImageUncheckedCreateNestedManyWithoutProductVariantInput No

ProductVariantUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
currency CurrencyUpdateOneWithoutProduct_variantNestedInput No
product ProductUpdateOneRequiredWithoutVariantsNestedInput No
product_instance ProductInstanceUpdateManyWithoutProductVariantNestedInput No
product_variant_attribute ProductVariantAttributeUpdateManyWithoutVariantNestedInput No
product_batches ProductBatchUpdateManyWithoutProduct_variantNestedInput No
stocks StockUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUpdateManyWithoutProductVariantNestedInput No

ProductVariantUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
currencyId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instance ProductInstanceUncheckedUpdateManyWithoutProductVariantNestedInput No
product_variant_attribute ProductVariantAttributeUncheckedUpdateManyWithoutVariantNestedInput No
product_batches ProductBatchUncheckedUpdateManyWithoutProduct_variantNestedInput No
stocks StockUncheckedUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUncheckedUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUncheckedUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUncheckedUpdateManyWithoutProductVariantNestedInput No

ProductVariantCreateManyInput

Name Type Nullable
id String No
productId String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
currencyId String | Null Yes
createdAt DateTime No
updatedAt DateTime No

ProductVariantUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductVariantUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
currencyId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

AttributeCreateInput

Name Type Nullable
id String No
key String No
name String No
values AttributeValueCreateNestedManyWithoutAttributeInput No

AttributeUncheckedCreateInput

Name Type Nullable
id String No
key String No
name String No
values AttributeValueUncheckedCreateNestedManyWithoutAttributeInput No

AttributeUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
key String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
values AttributeValueUpdateManyWithoutAttributeNestedInput No

AttributeUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
key String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
values AttributeValueUncheckedUpdateManyWithoutAttributeNestedInput No

AttributeCreateManyInput

Name Type Nullable
id String No
key String No
name String No

AttributeUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
key String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No

AttributeUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
key String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No

AttributeValueCreateInput

Name Type Nullable
id String No
value String No
attribute AttributeCreateNestedOneWithoutValuesInput No
product_variant_attribute ProductVariantAttributeCreateNestedManyWithoutValueInput No

AttributeValueUncheckedCreateInput

Name Type Nullable
id String No
attributeId String No
value String No
product_variant_attribute ProductVariantAttributeUncheckedCreateNestedManyWithoutValueInput No

AttributeValueUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
value String | StringFieldUpdateOperationsInput No
attribute AttributeUpdateOneRequiredWithoutValuesNestedInput No
product_variant_attribute ProductVariantAttributeUpdateManyWithoutValueNestedInput No

AttributeValueUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
attributeId String | StringFieldUpdateOperationsInput No
value String | StringFieldUpdateOperationsInput No
product_variant_attribute ProductVariantAttributeUncheckedUpdateManyWithoutValueNestedInput No

AttributeValueCreateManyInput

Name Type Nullable
id String No
attributeId String No
value String No

AttributeValueUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
value String | StringFieldUpdateOperationsInput No

AttributeValueUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
attributeId String | StringFieldUpdateOperationsInput No
value String | StringFieldUpdateOperationsInput No

ProductVariantAttributeCreateInput

Name Type Nullable
id String No
variant ProductVariantCreateNestedOneWithoutProduct_variant_attributeInput No
value AttributeValueCreateNestedOneWithoutProduct_variant_attributeInput No

ProductVariantAttributeUncheckedCreateInput

Name Type Nullable
id String No
productVariantId String No
attributeValueId String No


ProductVariantAttributeUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
attributeValueId String | StringFieldUpdateOperationsInput No

ProductVariantAttributeCreateManyInput

Name Type Nullable
id String No
productVariantId String No
attributeValueId String No

ProductVariantAttributeUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No

ProductVariantAttributeUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
attributeValueId String | StringFieldUpdateOperationsInput No

CategoryCreateInput

Name Type Nullable
id String No
name String No
createdAt DateTime No
updatedAt DateTime No
products ProductCategoryCreateNestedManyWithoutCategoryInput No

CategoryUncheckedCreateInput

Name Type Nullable
id String No
name String No
createdAt DateTime No
updatedAt DateTime No
products ProductCategoryUncheckedCreateNestedManyWithoutCategoryInput No

CategoryUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
products ProductCategoryUpdateManyWithoutCategoryNestedInput No

CategoryUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
products ProductCategoryUncheckedUpdateManyWithoutCategoryNestedInput No

CategoryCreateManyInput

Name Type Nullable
id String No
name String No
createdAt DateTime No
updatedAt DateTime No

CategoryUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

CategoryUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductCategoryCreateInput

Name Type Nullable
product ProductCreateNestedOneWithoutCategoriesInput No
category CategoryCreateNestedOneWithoutProductsInput No

ProductCategoryUncheckedCreateInput

Name Type Nullable
productId String No
categoryId String No

ProductCategoryUpdateInput

Name Type Nullable
product ProductUpdateOneRequiredWithoutCategoriesNestedInput No
category CategoryUpdateOneRequiredWithoutProductsNestedInput No

ProductCategoryUncheckedUpdateInput

Name Type Nullable
productId String | StringFieldUpdateOperationsInput No
categoryId String | StringFieldUpdateOperationsInput No

ProductCategoryCreateManyInput

Name Type Nullable
productId String No
categoryId String No

ProductCategoryUpdateManyMutationInput

Name Type Nullable

ProductCategoryUncheckedUpdateManyInput

Name Type Nullable
productId String | StringFieldUpdateOperationsInput No
categoryId String | StringFieldUpdateOperationsInput No

ProductPriceCreateInput

Name Type Nullable
id String No
priceType PriceType No
amount Decimal No
customerType CustomerType | Null Yes
createdAt DateTime No
updatedAt DateTime No
currency CurrencyCreateNestedOneWithoutProduct_pricesInput No
product ProductCreateNestedOneWithoutPricesInput No
organization OrganizationCreateNestedOneWithoutProduct_pricesInput No

ProductPriceUncheckedCreateInput

Name Type Nullable
id String No
productId String No
organizationId String | Null Yes
priceType PriceType No
amount Decimal No
currencyId String No
customerType CustomerType | Null Yes
createdAt DateTime No
updatedAt DateTime No


ProductPriceUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | StringFieldUpdateOperationsInput No
organizationId String | NullableStringFieldUpdateOperationsInput | Null Yes
priceType PriceType | EnumPriceTypeFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
customerType CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductPriceCreateManyInput

Name Type Nullable
id String No
productId String No
organizationId String | Null Yes
priceType PriceType No
amount Decimal No
currencyId String No
customerType CustomerType | Null Yes
createdAt DateTime No
updatedAt DateTime No

ProductPriceUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
priceType PriceType | EnumPriceTypeFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
customerType CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductPriceUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | StringFieldUpdateOperationsInput No
organizationId String | NullableStringFieldUpdateOperationsInput | Null Yes
priceType PriceType | EnumPriceTypeFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
customerType CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductInstanceCreateInput

Name Type Nullable
id String No
serialNumber String No
currentStatus ProductStatus No
createdAt DateTime No
updatedAt DateTime No
productVariant ProductVariantCreateNestedOneWithoutProduct_instanceInput No
organization OrganizationCreateNestedOneWithoutProduct_instancesInput No
current_owner OrganizationCustomerCreateNestedOneWithoutProduct_instancesInput No
transactions ProductTransactionCreateNestedManyWithoutProduct_instanceInput No

ProductInstanceUncheckedCreateInput

Name Type Nullable
id String No
productVariantId String | Null Yes
serialNumber String No
currentOwnerId String | Null Yes
currentStatus ProductStatus No
organizationId String No
createdAt DateTime No
updatedAt DateTime No
transactions ProductTransactionUncheckedCreateNestedManyWithoutProduct_instanceInput No


ProductInstanceUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | NullableStringFieldUpdateOperationsInput | Null Yes
serialNumber String | StringFieldUpdateOperationsInput No
currentOwnerId String | NullableStringFieldUpdateOperationsInput | Null Yes
currentStatus ProductStatus | EnumProductStatusFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
transactions ProductTransactionUncheckedUpdateManyWithoutProduct_instanceNestedInput No

ProductInstanceCreateManyInput

Name Type Nullable
id String No
productVariantId String | Null Yes
serialNumber String No
currentOwnerId String | Null Yes
currentStatus ProductStatus No
organizationId String No
createdAt DateTime No
updatedAt DateTime No

ProductInstanceUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
serialNumber String | StringFieldUpdateOperationsInput No
currentStatus ProductStatus | EnumProductStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductInstanceUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | NullableStringFieldUpdateOperationsInput | Null Yes
serialNumber String | StringFieldUpdateOperationsInput No
currentOwnerId String | NullableStringFieldUpdateOperationsInput | Null Yes
currentStatus ProductStatus | EnumProductStatusFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductTransactionCreateInput

Name Type Nullable
id String No
fromCustomerId String | Null Yes
toCustomerId String | Null Yes
toOrganizationId String | Null Yes
saleId String | Null Yes
action ProductAction No
date DateTime No
description String | Null Yes
product_instance ProductInstanceCreateNestedOneWithoutTransactionsInput No

ProductTransactionUncheckedCreateInput

Name Type Nullable
id String No
productInstanceId String No
fromCustomerId String | Null Yes
toCustomerId String | Null Yes
toOrganizationId String | Null Yes
saleId String | Null Yes
action ProductAction No
date DateTime No
description String | Null Yes

ProductTransactionUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
fromCustomerId String | NullableStringFieldUpdateOperationsInput | Null Yes
toCustomerId String | NullableStringFieldUpdateOperationsInput | Null Yes
toOrganizationId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
action ProductAction | EnumProductActionFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
product_instance ProductInstanceUpdateOneRequiredWithoutTransactionsNestedInput No

ProductTransactionUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productInstanceId String | StringFieldUpdateOperationsInput No
fromCustomerId String | NullableStringFieldUpdateOperationsInput | Null Yes
toCustomerId String | NullableStringFieldUpdateOperationsInput | Null Yes
toOrganizationId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
action ProductAction | EnumProductActionFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

ProductTransactionCreateManyInput

Name Type Nullable
id String No
productInstanceId String No
fromCustomerId String | Null Yes
toCustomerId String | Null Yes
toOrganizationId String | Null Yes
saleId String | Null Yes
action ProductAction No
date DateTime No
description String | Null Yes

ProductTransactionUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
fromCustomerId String | NullableStringFieldUpdateOperationsInput | Null Yes
toCustomerId String | NullableStringFieldUpdateOperationsInput | Null Yes
toOrganizationId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
action ProductAction | EnumProductActionFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

ProductTransactionUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productInstanceId String | StringFieldUpdateOperationsInput No
fromCustomerId String | NullableStringFieldUpdateOperationsInput | Null Yes
toCustomerId String | NullableStringFieldUpdateOperationsInput | Null Yes
toOrganizationId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
action ProductAction | EnumProductActionFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

ProductBatchCreateInput

Name Type Nullable
id String No
batchNumber String No
expiryDate DateTime | Null Yes
quantity Int No
isValid Boolean No
createdAt DateTime No
product_variant ProductVariantCreateNestedOneWithoutProduct_batchesInput No

ProductBatchUncheckedCreateInput

Name Type Nullable
id String No
productVariantId String No
batchNumber String No
expiryDate DateTime | Null Yes
quantity Int No
isValid Boolean No
createdAt DateTime No

ProductBatchUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
batchNumber String | StringFieldUpdateOperationsInput No
expiryDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
quantity Int | IntFieldUpdateOperationsInput No
isValid Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
product_variant ProductVariantUpdateOneRequiredWithoutProduct_batchesNestedInput No

ProductBatchUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
batchNumber String | StringFieldUpdateOperationsInput No
expiryDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
quantity Int | IntFieldUpdateOperationsInput No
isValid Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductBatchCreateManyInput

Name Type Nullable
id String No
productVariantId String No
batchNumber String No
expiryDate DateTime | Null Yes
quantity Int No
isValid Boolean No
createdAt DateTime No

ProductBatchUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
batchNumber String | StringFieldUpdateOperationsInput No
expiryDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
quantity Int | IntFieldUpdateOperationsInput No
isValid Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductBatchUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
batchNumber String | StringFieldUpdateOperationsInput No
expiryDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
quantity Int | IntFieldUpdateOperationsInput No
isValid Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

StockCreateInput

Name Type Nullable
id String No
quantity Int No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutStocksInput No
product_variant ProductVariantCreateNestedOneWithoutStocksInput No

StockUncheckedCreateInput

Name Type Nullable
id String No
organizationId String No
productVariantId String No
quantity Int No
updatedAt DateTime No


StockUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

StockCreateManyInput

Name Type Nullable
id String No
organizationId String No
productVariantId String No
quantity Int No
updatedAt DateTime No

StockUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

StockUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

KassaCreateInput

Name Type Nullable
id String No
name String No
type String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutKassasInput No
currency CurrencyCreateNestedOneWithoutKassasInput No
payments PaymentCreateNestedManyWithoutKassaInput No
purchases PurchaseCreateNestedManyWithoutKassaInput No
sales SaleCreateNestedManyWithoutKassaInput No
outgoing_transfers KassaTransferCreateNestedManyWithoutFrom_kassaInput No
incoming_transfers KassaTransferCreateNestedManyWithoutTo_kassaInput No

KassaUncheckedCreateInput

Name Type Nullable
id String No
organizationId String No
name String No
type String No
currencyId String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No
payments PaymentUncheckedCreateNestedManyWithoutKassaInput No
purchases PurchaseUncheckedCreateNestedManyWithoutKassaInput No
sales SaleUncheckedCreateNestedManyWithoutKassaInput No
outgoing_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_kassaInput No
incoming_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_kassaInput No


KassaUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
type String | StringFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
balance Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
payments PaymentUncheckedUpdateManyWithoutKassaNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutKassaNestedInput No
sales SaleUncheckedUpdateManyWithoutKassaNestedInput No
outgoing_transfers KassaTransferUncheckedUpdateManyWithoutFrom_kassaNestedInput No
incoming_transfers KassaTransferUncheckedUpdateManyWithoutTo_kassaNestedInput No

KassaCreateManyInput

Name Type Nullable
id String No
organizationId String No
name String No
type String No
currencyId String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No

KassaUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
type String | StringFieldUpdateOperationsInput No
balance Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

KassaUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
type String | StringFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
balance Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

KassaTransferCreateInput

Name Type Nullable
id String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No
organization OrganizationCreateNestedOneWithoutKassa_transfersInput No
from_kassa KassaCreateNestedOneWithoutOutgoing_transfersInput No
to_kassa KassaCreateNestedOneWithoutIncoming_transfersInput No
from_currency CurrencyCreateNestedOneWithoutFrom_transfersInput No
to_currency CurrencyCreateNestedOneWithoutTo_transfersInput No

KassaTransferUncheckedCreateInput

Name Type Nullable
id String No
organizationId String No
fromKassaId String No
toKassaId String No
fromCurrencyId String No
toCurrencyId String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No


KassaTransferUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
fromKassaId String | StringFieldUpdateOperationsInput No
toKassaId String | StringFieldUpdateOperationsInput No
fromCurrencyId String | StringFieldUpdateOperationsInput No
toCurrencyId String | StringFieldUpdateOperationsInput No
rate Decimal | DecimalFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
convertedAmount Decimal | DecimalFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

KassaTransferCreateManyInput

Name Type Nullable
id String No
organizationId String No
fromKassaId String No
toKassaId String No
fromCurrencyId String No
toCurrencyId String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No

KassaTransferUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
rate Decimal | DecimalFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
convertedAmount Decimal | DecimalFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

KassaTransferUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
fromKassaId String | StringFieldUpdateOperationsInput No
toKassaId String | StringFieldUpdateOperationsInput No
fromCurrencyId String | StringFieldUpdateOperationsInput No
toCurrencyId String | StringFieldUpdateOperationsInput No
rate Decimal | DecimalFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
convertedAmount Decimal | DecimalFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No


PaymentUncheckedCreateInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
customerId String | Null Yes
kassaId String No
amount Decimal No
currencyId String No
type PaymentType No
description String | Null Yes
purchaseId String | Null Yes
saleId String | Null Yes
createdAt DateTime No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutPaymentInput No

PaymentUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutPaymentsNestedInput No
user UserUpdateOneWithoutPaymentsNestedInput No
customer OrganizationCustomerUpdateOneWithoutPaymentsNestedInput No
kassa KassaUpdateOneRequiredWithoutPaymentsNestedInput No
currency CurrencyUpdateOneRequiredWithoutPaymentsNestedInput No
purchase PurchaseUpdateOneWithoutPaymentsNestedInput No
sale SaleUpdateOneWithoutPaymentsNestedInput No
installment_payments InstallmentPaymentUpdateManyWithoutPaymentNestedInput No

PaymentUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutPaymentNestedInput No

PaymentCreateManyInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
customerId String | Null Yes
kassaId String No
amount Decimal No
currencyId String No
type PaymentType No
description String | Null Yes
purchaseId String | Null Yes
saleId String | Null Yes
createdAt DateTime No

PaymentUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

PaymentUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

TransactionCreateInput

Name Type Nullable
id String No
relatedType RelatedType No
relatedId String No
date DateTime No
debit Decimal No
credit Decimal No
balanceAfter Decimal No
description String | Null Yes
organization OrganizationCreateNestedOneWithoutTransactionsInput No
customer OrganizationCustomerCreateNestedOneWithoutTransactionsInput No
currency CurrencyCreateNestedOneWithoutTransactionsInput No

TransactionUncheckedCreateInput

Name Type Nullable
id String No
organizationId String No
customerId String No
relatedType RelatedType No
relatedId String No
date DateTime No
debit Decimal No
credit Decimal No
balanceAfter Decimal No
currencyId String No
description String | Null Yes


TransactionUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | StringFieldUpdateOperationsInput No
relatedType RelatedType | EnumRelatedTypeFieldUpdateOperationsInput No
relatedId String | StringFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No
debit Decimal | DecimalFieldUpdateOperationsInput No
credit Decimal | DecimalFieldUpdateOperationsInput No
balanceAfter Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

TransactionCreateManyInput

Name Type Nullable
id String No
organizationId String No
customerId String No
relatedType RelatedType No
relatedId String No
date DateTime No
debit Decimal No
credit Decimal No
balanceAfter Decimal No
currencyId String No
description String | Null Yes

TransactionUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
relatedType RelatedType | EnumRelatedTypeFieldUpdateOperationsInput No
relatedId String | StringFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No
debit Decimal | DecimalFieldUpdateOperationsInput No
credit Decimal | DecimalFieldUpdateOperationsInput No
balanceAfter Decimal | DecimalFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

TransactionUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | StringFieldUpdateOperationsInput No
relatedType RelatedType | EnumRelatedTypeFieldUpdateOperationsInput No
relatedId String | StringFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No
debit Decimal | DecimalFieldUpdateOperationsInput No
credit Decimal | DecimalFieldUpdateOperationsInput No
balanceAfter Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

SaleCreateInput

Name Type Nullable
id String No
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutSalesInput No
customer OrganizationCustomerCreateNestedOneWithoutSalesInput No
responsible UserCreateNestedOneWithoutSalesInput No
currency CurrencyCreateNestedOneWithoutSalesInput No
kassa KassaCreateNestedOneWithoutSalesInput No
items SaleItemCreateNestedManyWithoutSaleInput No
payments PaymentCreateNestedManyWithoutSaleInput No
installments InstallmentCreateNestedManyWithoutSaleInput No
documents DocumentCreateNestedManyWithoutSaleInput No

SaleUncheckedCreateInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
responsibleId String No
kassaId String | Null Yes
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
items SaleItemUncheckedCreateNestedManyWithoutSaleInput No
payments PaymentUncheckedCreateNestedManyWithoutSaleInput No
installments InstallmentUncheckedCreateNestedManyWithoutSaleInput No
documents DocumentUncheckedCreateNestedManyWithoutSaleInput No

SaleUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutSalesNestedInput No
customer OrganizationCustomerUpdateOneWithoutSalesNestedInput No
responsible UserUpdateOneRequiredWithoutSalesNestedInput No
currency CurrencyUpdateOneRequiredWithoutSalesNestedInput No
kassa KassaUpdateOneWithoutSalesNestedInput No
items SaleItemUpdateManyWithoutSaleNestedInput No
payments PaymentUpdateManyWithoutSaleNestedInput No
installments InstallmentUpdateManyWithoutSaleNestedInput No
documents DocumentUpdateManyWithoutSaleNestedInput No

SaleUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
responsibleId String | StringFieldUpdateOperationsInput No
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
items SaleItemUncheckedUpdateManyWithoutSaleNestedInput No
payments PaymentUncheckedUpdateManyWithoutSaleNestedInput No
installments InstallmentUncheckedUpdateManyWithoutSaleNestedInput No
documents DocumentUncheckedUpdateManyWithoutSaleNestedInput No

SaleCreateManyInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
responsibleId String No
kassaId String | Null Yes
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No

SaleUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

SaleUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
responsibleId String | StringFieldUpdateOperationsInput No
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

SaleItemCreateInput

Name Type Nullable
id String No
quantity Int No
price Decimal No
total Decimal No
sale SaleCreateNestedOneWithoutItemsInput No
product_variant ProductVariantCreateNestedOneWithoutSele_itemsInput No
currency CurrencyCreateNestedOneWithoutSale_itemsInput No

SaleItemUncheckedCreateInput

Name Type Nullable
id String No
saleId String No
productVariantId String No
quantity Int No
price Decimal No
total Decimal No
currencyId String No


SaleItemUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
saleId String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No

SaleItemCreateManyInput

Name Type Nullable
id String No
saleId String No
productVariantId String No
quantity Int No
price Decimal No
total Decimal No
currencyId String No

SaleItemUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No

SaleItemUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
saleId String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No

PurchaseCreateInput

Name Type Nullable
id String No
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutPurchasesInput No
supplier OrganizationCustomerCreateNestedOneWithoutPurchasesInput No
responsible UserCreateNestedOneWithoutPurchasesInput No
currency CurrencyCreateNestedOneWithoutPurchasesInput No
kassa KassaCreateNestedOneWithoutPurchasesInput No
items PurchaseItemCreateNestedManyWithoutPurchaseInput No
payments PaymentCreateNestedManyWithoutPurchaseInput No

PurchaseUncheckedCreateInput

Name Type Nullable
id String No
organizationId String No
supplierId String No
responsibleId String | Null Yes
kassaId String | Null Yes
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
items PurchaseItemUncheckedCreateNestedManyWithoutPurchaseInput No
payments PaymentUncheckedCreateNestedManyWithoutPurchaseInput No

PurchaseUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutPurchasesNestedInput No
supplier OrganizationCustomerUpdateOneRequiredWithoutPurchasesNestedInput No
responsible UserUpdateOneWithoutPurchasesNestedInput No
currency CurrencyUpdateOneRequiredWithoutPurchasesNestedInput No
kassa KassaUpdateOneWithoutPurchasesNestedInput No
items PurchaseItemUpdateManyWithoutPurchaseNestedInput No
payments PaymentUpdateManyWithoutPurchaseNestedInput No

PurchaseUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
supplierId String | StringFieldUpdateOperationsInput No
responsibleId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
items PurchaseItemUncheckedUpdateManyWithoutPurchaseNestedInput No
payments PaymentUncheckedUpdateManyWithoutPurchaseNestedInput No

PurchaseCreateManyInput

Name Type Nullable
id String No
organizationId String No
supplierId String No
responsibleId String | Null Yes
kassaId String | Null Yes
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No

PurchaseUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PurchaseUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
supplierId String | StringFieldUpdateOperationsInput No
responsibleId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PurchaseItemCreateInput

Name Type Nullable
id String No
quantity Int No
price Decimal No
discount Decimal No
total Decimal No
purchase PurchaseCreateNestedOneWithoutItemsInput No
product_variant ProductVariantCreateNestedOneWithoutPurchase_itemsInput No

PurchaseItemUncheckedCreateInput

Name Type Nullable
id String No
purchaseId String No
productVariantId String No
quantity Int No
price Decimal No
discount Decimal No
total Decimal No


PurchaseItemUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
purchaseId String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
discount Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No

PurchaseItemCreateManyInput

Name Type Nullable
id String No
purchaseId String No
productVariantId String No
quantity Int No
price Decimal No
discount Decimal No
total Decimal No

PurchaseItemUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
discount Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No

PurchaseItemUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
purchaseId String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
discount Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No

InstallmentCreateInput

Name Type Nullable
id String No
totalAmount Decimal No
initialPayment Decimal No
paidAmount Decimal No
remaining Decimal No
totalMonths Int No
monthsLeft Int No
monthlyPayment Decimal No
dueDate DateTime No
status InstallmentStatus No
createdAt DateTime No
updatedAt DateTime No
sale SaleCreateNestedOneWithoutInstallmentsInput No
customer OrganizationCustomerCreateNestedOneWithoutInstallmentsInput No
payments InstallmentPaymentCreateNestedManyWithoutInstallmentInput No

InstallmentUncheckedCreateInput

Name Type Nullable
id String No
saleId String No
customerId String No
totalAmount Decimal No
initialPayment Decimal No
paidAmount Decimal No
remaining Decimal No
totalMonths Int No
monthsLeft Int No
monthlyPayment Decimal No
dueDate DateTime No
status InstallmentStatus No
createdAt DateTime No
updatedAt DateTime No
payments InstallmentPaymentUncheckedCreateNestedManyWithoutInstallmentInput No

InstallmentUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
initialPayment Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
remaining Decimal | DecimalFieldUpdateOperationsInput No
totalMonths Int | IntFieldUpdateOperationsInput No
monthsLeft Int | IntFieldUpdateOperationsInput No
monthlyPayment Decimal | DecimalFieldUpdateOperationsInput No
dueDate DateTime | DateTimeFieldUpdateOperationsInput No
status InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
sale SaleUpdateOneRequiredWithoutInstallmentsNestedInput No
customer OrganizationCustomerUpdateOneRequiredWithoutInstallmentsNestedInput No
payments InstallmentPaymentUpdateManyWithoutInstallmentNestedInput No

InstallmentUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
saleId String | StringFieldUpdateOperationsInput No
customerId String | StringFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
initialPayment Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
remaining Decimal | DecimalFieldUpdateOperationsInput No
totalMonths Int | IntFieldUpdateOperationsInput No
monthsLeft Int | IntFieldUpdateOperationsInput No
monthlyPayment Decimal | DecimalFieldUpdateOperationsInput No
dueDate DateTime | DateTimeFieldUpdateOperationsInput No
status InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
payments InstallmentPaymentUncheckedUpdateManyWithoutInstallmentNestedInput No

InstallmentCreateManyInput

Name Type Nullable
id String No
saleId String No
customerId String No
totalAmount Decimal No
initialPayment Decimal No
paidAmount Decimal No
remaining Decimal No
totalMonths Int No
monthsLeft Int No
monthlyPayment Decimal No
dueDate DateTime No
status InstallmentStatus No
createdAt DateTime No
updatedAt DateTime No


InstallmentUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
saleId String | StringFieldUpdateOperationsInput No
customerId String | StringFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
initialPayment Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
remaining Decimal | DecimalFieldUpdateOperationsInput No
totalMonths Int | IntFieldUpdateOperationsInput No
monthsLeft Int | IntFieldUpdateOperationsInput No
monthlyPayment Decimal | DecimalFieldUpdateOperationsInput No
dueDate DateTime | DateTimeFieldUpdateOperationsInput No
status InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

InstallmentPaymentCreateInput

Name Type Nullable
id String No
amount Decimal No
paidAt DateTime No
paymentMethod String | Null Yes
note String | Null Yes
installment InstallmentCreateNestedOneWithoutPaymentsInput No
created_by UserCreateNestedOneWithoutInstallment_paymentsInput No
payment PaymentCreateNestedOneWithoutInstallment_paymentsInput No

InstallmentPaymentUncheckedCreateInput

Name Type Nullable
id String No
installmentId String No
amount Decimal No
paidAt DateTime No
paymentMethod String | Null Yes
note String | Null Yes
createdById String | Null Yes
paymentId String | Null Yes


InstallmentPaymentUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
installmentId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
paidAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod String | NullableStringFieldUpdateOperationsInput | Null Yes
note String | NullableStringFieldUpdateOperationsInput | Null Yes
createdById String | NullableStringFieldUpdateOperationsInput | Null Yes
paymentId String | NullableStringFieldUpdateOperationsInput | Null Yes

InstallmentPaymentCreateManyInput

Name Type Nullable
id String No
installmentId String No
amount Decimal No
paidAt DateTime No
paymentMethod String | Null Yes
note String | Null Yes
createdById String | Null Yes
paymentId String | Null Yes

InstallmentPaymentUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
paidAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod String | NullableStringFieldUpdateOperationsInput | Null Yes
note String | NullableStringFieldUpdateOperationsInput | Null Yes

InstallmentPaymentUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
installmentId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
paidAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod String | NullableStringFieldUpdateOperationsInput | Null Yes
note String | NullableStringFieldUpdateOperationsInput | Null Yes
createdById String | NullableStringFieldUpdateOperationsInput | Null Yes
paymentId String | NullableStringFieldUpdateOperationsInput | Null Yes

DocumentCreateInput

Name Type Nullable
id String No
type DocumentType No
fileUrl String No
createdAt DateTime No
uploadedBy UserCreateNestedOneWithoutDocumentsInput No
organization OrganizationCreateNestedOneWithoutDocumentsInput No
customer OrganizationCustomerCreateNestedOneWithoutDocumentsInput No
sale SaleCreateNestedOneWithoutDocumentsInput No

DocumentUncheckedCreateInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
saleId String | Null Yes
type DocumentType No
fileUrl String No
uploadedById String | Null Yes
createdAt DateTime No


DocumentUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
type DocumentType | EnumDocumentTypeFieldUpdateOperationsInput No
fileUrl String | StringFieldUpdateOperationsInput No
uploadedById String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

DocumentCreateManyInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
saleId String | Null Yes
type DocumentType No
fileUrl String No
uploadedById String | Null Yes
createdAt DateTime No

DocumentUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
type DocumentType | EnumDocumentTypeFieldUpdateOperationsInput No
fileUrl String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

DocumentUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
type DocumentType | EnumDocumentTypeFieldUpdateOperationsInput No
fileUrl String | StringFieldUpdateOperationsInput No
uploadedById String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

SettingsCreateInput

Name Type Nullable
id String No
language String | Null Yes
dateFormat String | Null Yes
enableInstallment Boolean No
enableNotifications Boolean No
enableAutoRateUpdate Boolean No
taxPercent Decimal | Null Yes
logoUrl String | Null Yes
theme ThemeType No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutSettingsInput No
baseCurrency CurrencyCreateNestedOneWithoutSettingsInput No

SettingsUncheckedCreateInput

Name Type Nullable
id String No
organizationId String No
baseCurrencyId String No
language String | Null Yes
dateFormat String | Null Yes
enableInstallment Boolean No
enableNotifications Boolean No
enableAutoRateUpdate Boolean No
taxPercent Decimal | Null Yes
logoUrl String | Null Yes
theme ThemeType No
createdAt DateTime No
updatedAt DateTime No

SettingsUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
language String | NullableStringFieldUpdateOperationsInput | Null Yes
dateFormat String | NullableStringFieldUpdateOperationsInput | Null Yes
enableInstallment Boolean | BoolFieldUpdateOperationsInput No
enableNotifications Boolean | BoolFieldUpdateOperationsInput No
enableAutoRateUpdate Boolean | BoolFieldUpdateOperationsInput No
taxPercent Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
logoUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
theme ThemeType | EnumThemeTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutSettingsNestedInput No
baseCurrency CurrencyUpdateOneRequiredWithoutSettingsNestedInput No

SettingsUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
baseCurrencyId String | StringFieldUpdateOperationsInput No
language String | NullableStringFieldUpdateOperationsInput | Null Yes
dateFormat String | NullableStringFieldUpdateOperationsInput | Null Yes
enableInstallment Boolean | BoolFieldUpdateOperationsInput No
enableNotifications Boolean | BoolFieldUpdateOperationsInput No
enableAutoRateUpdate Boolean | BoolFieldUpdateOperationsInput No
taxPercent Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
logoUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
theme ThemeType | EnumThemeTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

SettingsCreateManyInput

Name Type Nullable
id String No
organizationId String No
baseCurrencyId String No
language String | Null Yes
dateFormat String | Null Yes
enableInstallment Boolean No
enableNotifications Boolean No
enableAutoRateUpdate Boolean No
taxPercent Decimal | Null Yes
logoUrl String | Null Yes
theme ThemeType No
createdAt DateTime No
updatedAt DateTime No

SettingsUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
language String | NullableStringFieldUpdateOperationsInput | Null Yes
dateFormat String | NullableStringFieldUpdateOperationsInput | Null Yes
enableInstallment Boolean | BoolFieldUpdateOperationsInput No
enableNotifications Boolean | BoolFieldUpdateOperationsInput No
enableAutoRateUpdate Boolean | BoolFieldUpdateOperationsInput No
taxPercent Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
logoUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
theme ThemeType | EnumThemeTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

SettingsUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
baseCurrencyId String | StringFieldUpdateOperationsInput No
language String | NullableStringFieldUpdateOperationsInput | Null Yes
dateFormat String | NullableStringFieldUpdateOperationsInput | Null Yes
enableInstallment Boolean | BoolFieldUpdateOperationsInput No
enableNotifications Boolean | BoolFieldUpdateOperationsInput No
enableAutoRateUpdate Boolean | BoolFieldUpdateOperationsInput No
taxPercent Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
logoUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
theme ThemeType | EnumThemeTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

AuditLogCreateInput

Name Type Nullable
id String No
action String No
entity String No
entityId String | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | Null Yes
createdAt DateTime No
organization OrganizationCreateNestedOneWithoutAudit_logsInput No
user UserCreateNestedOneWithoutAudit_logsInput No

AuditLogUncheckedCreateInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
action String No
entity String No
entityId String | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | Null Yes
createdAt DateTime No

AuditLogUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
action String | StringFieldUpdateOperationsInput No
entity String | StringFieldUpdateOperationsInput No
entityId String | NullableStringFieldUpdateOperationsInput | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutAudit_logsNestedInput No
user UserUpdateOneWithoutAudit_logsNestedInput No

AuditLogUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
action String | StringFieldUpdateOperationsInput No
entity String | StringFieldUpdateOperationsInput No
entityId String | NullableStringFieldUpdateOperationsInput | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

AuditLogCreateManyInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
action String No
entity String No
entityId String | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | Null Yes
createdAt DateTime No

AuditLogUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
action String | StringFieldUpdateOperationsInput No
entity String | StringFieldUpdateOperationsInput No
entityId String | NullableStringFieldUpdateOperationsInput | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

AuditLogUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
action String | StringFieldUpdateOperationsInput No
entity String | StringFieldUpdateOperationsInput No
entityId String | NullableStringFieldUpdateOperationsInput | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

StringFilter

Name Type Nullable
equals String | StringFieldRefInput No
in String | ListStringFieldRefInput No
notIn String | ListStringFieldRefInput No
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
mode QueryMode No
not String | NestedStringFilter No

DateTimeFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput No
in DateTime | ListDateTimeFieldRefInput No
notIn DateTime | ListDateTimeFieldRefInput No
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeFilter No

ProductPriceListRelationFilter

Name Type Nullable
every ProductPriceWhereInput No
some ProductPriceWhereInput No
none ProductPriceWhereInput No

KassaListRelationFilter

Name Type Nullable
every KassaWhereInput No
some KassaWhereInput No
none KassaWhereInput No

PaymentListRelationFilter

Name Type Nullable
every PaymentWhereInput No
some PaymentWhereInput No
none PaymentWhereInput No

TransactionListRelationFilter

Name Type Nullable
every TransactionWhereInput No
some TransactionWhereInput No
none TransactionWhereInput No

SaleListRelationFilter

Name Type Nullable
every SaleWhereInput No
some SaleWhereInput No
none SaleWhereInput No

SaleItemListRelationFilter

Name Type Nullable
every SaleItemWhereInput No
some SaleItemWhereInput No
none SaleItemWhereInput No

PurchaseListRelationFilter

Name Type Nullable
every PurchaseWhereInput No
some PurchaseWhereInput No
none PurchaseWhereInput No

KassaTransferListRelationFilter

Name Type Nullable
every KassaTransferWhereInput No
some KassaTransferWhereInput No
none KassaTransferWhereInput No

SettingsListRelationFilter

Name Type Nullable
every SettingsWhereInput No
some SettingsWhereInput No
none SettingsWhereInput No

ProductVariantListRelationFilter

Name Type Nullable
every ProductVariantWhereInput No
some ProductVariantWhereInput No
none ProductVariantWhereInput No

ProductPriceOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

KassaOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

PaymentOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

TransactionOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

SaleOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

SaleItemOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

PurchaseOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

KassaTransferOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

SettingsOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

ProductVariantOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

CurrencyCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
code SortOrder No
name SortOrder No
symbol SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

CurrencyMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
code SortOrder No
name SortOrder No
symbol SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

CurrencyMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
code SortOrder No
name SortOrder No
symbol SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

StringWithAggregatesFilter

Name Type Nullable
equals String | StringFieldRefInput No
in String | ListStringFieldRefInput No
notIn String | ListStringFieldRefInput No
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
mode QueryMode No
not String | NestedStringWithAggregatesFilter No
_count NestedIntFilter No
_min NestedStringFilter No
_max NestedStringFilter No

DateTimeWithAggregatesFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput No
in DateTime | ListDateTimeFieldRefInput No
notIn DateTime | ListDateTimeFieldRefInput No
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeWithAggregatesFilter No
_count NestedIntFilter No
_min NestedDateTimeFilter No
_max NestedDateTimeFilter No


CurrencyRateCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
baseCurrency SortOrder No
targetCurrency SortOrder No
rate SortOrder No
date SortOrder No

CurrencyRateAvgOrderByAggregateInput

Name Type Nullable
rate SortOrder No

CurrencyRateMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
baseCurrency SortOrder No
targetCurrency SortOrder No
rate SortOrder No
date SortOrder No

CurrencyRateMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
baseCurrency SortOrder No
targetCurrency SortOrder No
rate SortOrder No
date SortOrder No

CurrencyRateSumOrderByAggregateInput

Name Type Nullable
rate SortOrder No


StringNullableFilter

Name Type Nullable
equals String | StringFieldRefInput | Null Yes
in String | ListStringFieldRefInput | Null Yes
notIn String | ListStringFieldRefInput | Null Yes
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
mode QueryMode No
not String | NestedStringNullableFilter | Null Yes

OrganizationUserListRelationFilter

Name Type Nullable
every OrganizationUserWhereInput No
some OrganizationUserWhereInput No
none OrganizationUserWhereInput No

OrganizationCustomerListRelationFilter

Name Type Nullable
every OrganizationCustomerWhereInput No
some OrganizationCustomerWhereInput No
none OrganizationCustomerWhereInput No

ProductListRelationFilter

Name Type Nullable
every ProductWhereInput No
some ProductWhereInput No
none ProductWhereInput No

ProductInstanceListRelationFilter

Name Type Nullable
every ProductInstanceWhereInput No
some ProductInstanceWhereInput No
none ProductInstanceWhereInput No

StockListRelationFilter

Name Type Nullable
every StockWhereInput No
some StockWhereInput No
none StockWhereInput No

SettingsNullableScalarRelationFilter

Name Type Nullable
is SettingsWhereInput | Null Yes
isNot SettingsWhereInput | Null Yes

AuditLogListRelationFilter

Name Type Nullable
every AuditLogWhereInput No
some AuditLogWhereInput No
none AuditLogWhereInput No

DocumentListRelationFilter

Name Type Nullable
every DocumentWhereInput No
some DocumentWhereInput No
none DocumentWhereInput No

SortOrderInput

Name Type Nullable
sort SortOrder No
nulls NullsOrder No

OrganizationUserOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

OrganizationCustomerOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

ProductOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

ProductInstanceOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

StockOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

AuditLogOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

DocumentOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

OrganizationCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
address SortOrder No
phone SortOrder No
email SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

OrganizationMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
address SortOrder No
phone SortOrder No
email SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

OrganizationMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
address SortOrder No
phone SortOrder No
email SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

StringNullableWithAggregatesFilter

Name Type Nullable
equals String | StringFieldRefInput | Null Yes
in String | ListStringFieldRefInput | Null Yes
notIn String | ListStringFieldRefInput | Null Yes
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
mode QueryMode No
not String | NestedStringNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedStringNullableFilter No
_max NestedStringNullableFilter No

BoolFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput No
not Boolean | NestedBoolFilter No

UserProfileNullableScalarRelationFilter

Name Type Nullable
is UserProfileWhereInput | Null Yes
isNot UserProfileWhereInput | Null Yes

RoleNullableScalarRelationFilter

Name Type Nullable
is RoleWhereInput | Null Yes
isNot RoleWhereInput | Null Yes

UserPhoneListRelationFilter

Name Type Nullable
every UserPhoneWhereInput No
some UserPhoneWhereInput No
none UserPhoneWhereInput No

InstallmentPaymentListRelationFilter

Name Type Nullable
every InstallmentPaymentWhereInput No
some InstallmentPaymentWhereInput No
none InstallmentPaymentWhereInput No

UserPhoneOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

InstallmentPaymentOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

UserCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
email SortOrder No
password SortOrder No
isActive SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
roleId SortOrder No

UserMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
email SortOrder No
password SortOrder No
isActive SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
roleId SortOrder No

UserMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
email SortOrder No
password SortOrder No
isActive SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
roleId SortOrder No

BoolWithAggregatesFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput No
not Boolean | NestedBoolWithAggregatesFilter No
_count NestedIntFilter No
_min NestedBoolFilter No
_max NestedBoolFilter No

DateTimeNullableFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput | Null Yes
in DateTime | ListDateTimeFieldRefInput | Null Yes
notIn DateTime | ListDateTimeFieldRefInput | Null Yes
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeNullableFilter | Null Yes

EnumGenderFilter

Name Type Nullable
equals Gender | EnumGenderFieldRefInput No
in Gender[] | ListEnumGenderFieldRefInput No
notIn Gender[] | ListEnumGenderFieldRefInput No
not Gender | NestedEnumGenderFilter No

UserScalarRelationFilter

Name Type Nullable
is UserWhereInput No
isNot UserWhereInput No

UserProfileCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
firstName SortOrder No
lastName SortOrder No
patronymic SortOrder No
dateOfBirth SortOrder No
gender SortOrder No
passportSeries SortOrder No
passportNumber SortOrder No
issuedBy SortOrder No
issuedDate SortOrder No
expiryDate SortOrder No
country SortOrder No
region SortOrder No
city SortOrder No
address SortOrder No
registration SortOrder No
district SortOrder No

UserProfileMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
firstName SortOrder No
lastName SortOrder No
patronymic SortOrder No
dateOfBirth SortOrder No
gender SortOrder No
passportSeries SortOrder No
passportNumber SortOrder No
issuedBy SortOrder No
issuedDate SortOrder No
expiryDate SortOrder No
country SortOrder No
region SortOrder No
city SortOrder No
address SortOrder No
registration SortOrder No
district SortOrder No

UserProfileMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
firstName SortOrder No
lastName SortOrder No
patronymic SortOrder No
dateOfBirth SortOrder No
gender SortOrder No
passportSeries SortOrder No
passportNumber SortOrder No
issuedBy SortOrder No
issuedDate SortOrder No
expiryDate SortOrder No
country SortOrder No
region SortOrder No
city SortOrder No
address SortOrder No
registration SortOrder No
district SortOrder No

DateTimeNullableWithAggregatesFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput | Null Yes
in DateTime | ListDateTimeFieldRefInput | Null Yes
notIn DateTime | ListDateTimeFieldRefInput | Null Yes
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedDateTimeNullableFilter No
_max NestedDateTimeNullableFilter No


UserListRelationFilter

Name Type Nullable
every UserWhereInput No
some UserWhereInput No
none UserWhereInput No

UserOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

RoleCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
description SortOrder No

RoleMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
description SortOrder No

RoleMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
description SortOrder No

UserPhoneCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
phone SortOrder No
note SortOrder No
isPrimary SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

UserPhoneMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
phone SortOrder No
note SortOrder No
isPrimary SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

UserPhoneMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
phone SortOrder No
note SortOrder No
isPrimary SortOrder No
createdAt SortOrder No
updatedAt SortOrder No


OrganizationScalarRelationFilter

Name Type Nullable
is OrganizationWhereInput No
isNot OrganizationWhereInput No

OrganizationUserCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder No
role SortOrder No
position SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

OrganizationUserMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder No
role SortOrder No
position SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

OrganizationUserMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder No
role SortOrder No
position SortOrder No
createdAt SortOrder No
updatedAt SortOrder No



UserNullableScalarRelationFilter

Name Type Nullable
is UserWhereInput | Null Yes
isNot UserWhereInput | Null Yes

InstallmentListRelationFilter

Name Type Nullable
every InstallmentWhereInput No
some InstallmentWhereInput No
none InstallmentWhereInput No

InstallmentOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

OrganizationCustomerCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder No
firstName SortOrder No
lastName SortOrder No
patronymic SortOrder No
phone SortOrder No
type SortOrder No
isBlacklisted SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

OrganizationCustomerMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder No
firstName SortOrder No
lastName SortOrder No
patronymic SortOrder No
phone SortOrder No
type SortOrder No
isBlacklisted SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

OrganizationCustomerMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder No
firstName SortOrder No
lastName SortOrder No
patronymic SortOrder No
phone SortOrder No
type SortOrder No
isBlacklisted SortOrder No
createdAt SortOrder No
updatedAt SortOrder No


BrandCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

BrandMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

BrandMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

IntFilter

Name Type Nullable
equals Int | IntFieldRefInput No
in Int | ListIntFieldRefInput No
notIn Int | ListIntFieldRefInput No
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntFilter No

ProductNullableScalarRelationFilter

Name Type Nullable
is ProductWhereInput | Null Yes
isNot ProductWhereInput | Null Yes

ProductVariantNullableScalarRelationFilter

Name Type Nullable
is ProductVariantWhereInput | Null Yes
isNot ProductVariantWhereInput | Null Yes

ProductImageCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
productId SortOrder No
productVariantId SortOrder No
url SortOrder No
alt SortOrder No
isPrimary SortOrder No
sortOrder SortOrder No
createdAt SortOrder No

ProductImageAvgOrderByAggregateInput

Name Type Nullable
sortOrder SortOrder No

ProductImageMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
productId SortOrder No
productVariantId SortOrder No
url SortOrder No
alt SortOrder No
isPrimary SortOrder No
sortOrder SortOrder No
createdAt SortOrder No

ProductImageMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
productId SortOrder No
productVariantId SortOrder No
url SortOrder No
alt SortOrder No
isPrimary SortOrder No
sortOrder SortOrder No
createdAt SortOrder No

ProductImageSumOrderByAggregateInput

Name Type Nullable
sortOrder SortOrder No

IntWithAggregatesFilter

Name Type Nullable
equals Int | IntFieldRefInput No
in Int | ListIntFieldRefInput No
notIn Int | ListIntFieldRefInput No
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntWithAggregatesFilter No
_count NestedIntFilter No
_avg NestedFloatFilter No
_sum NestedIntFilter No
_min NestedIntFilter No
_max NestedIntFilter No

BrandNullableScalarRelationFilter

Name Type Nullable
is BrandWhereInput | Null Yes
isNot BrandWhereInput | Null Yes

ProductCategoryListRelationFilter

Name Type Nullable
every ProductCategoryWhereInput No
some ProductCategoryWhereInput No
none ProductCategoryWhereInput No

ProductImageListRelationFilter

Name Type Nullable
every ProductImageWhereInput No
some ProductImageWhereInput No
none ProductImageWhereInput No

ProductCategoryOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

ProductImageOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

ProductCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
code SortOrder No
organizationId SortOrder No
name SortOrder No
description SortOrder No
brandId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ProductMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
code SortOrder No
organizationId SortOrder No
name SortOrder No
description SortOrder No
brandId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ProductMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
code SortOrder No
organizationId SortOrder No
name SortOrder No
description SortOrder No
brandId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

DecimalNullableFilter

Name Type Nullable
equals Decimal | DecimalFieldRefInput | Null Yes
in Decimal[] | ListDecimalFieldRefInput | Null Yes
notIn Decimal[] | ListDecimalFieldRefInput | Null Yes
lt Decimal | DecimalFieldRefInput No
lte Decimal | DecimalFieldRefInput No
gt Decimal | DecimalFieldRefInput No
gte Decimal | DecimalFieldRefInput No
not Decimal | NestedDecimalNullableFilter | Null Yes

CurrencyNullableScalarRelationFilter

Name Type Nullable
is CurrencyWhereInput | Null Yes
isNot CurrencyWhereInput | Null Yes

ProductScalarRelationFilter

Name Type Nullable
is ProductWhereInput No
isNot ProductWhereInput No

ProductVariantAttributeListRelationFilter

Name Type Nullable
every ProductVariantAttributeWhereInput No
some ProductVariantAttributeWhereInput No
none ProductVariantAttributeWhereInput No

ProductBatchListRelationFilter

Name Type Nullable
every ProductBatchWhereInput No
some ProductBatchWhereInput No
none ProductBatchWhereInput No

PurchaseItemListRelationFilter

Name Type Nullable
every PurchaseItemWhereInput No
some PurchaseItemWhereInput No
none PurchaseItemWhereInput No

ProductVariantAttributeOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

ProductBatchOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

PurchaseItemOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

ProductVariantCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
productId SortOrder No
sku SortOrder No
barcode SortOrder No
title SortOrder No
defaultPrice SortOrder No
currencyId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ProductVariantAvgOrderByAggregateInput

Name Type Nullable
defaultPrice SortOrder No

ProductVariantMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
productId SortOrder No
sku SortOrder No
barcode SortOrder No
title SortOrder No
defaultPrice SortOrder No
currencyId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ProductVariantMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
productId SortOrder No
sku SortOrder No
barcode SortOrder No
title SortOrder No
defaultPrice SortOrder No
currencyId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ProductVariantSumOrderByAggregateInput

Name Type Nullable
defaultPrice SortOrder No


AttributeValueListRelationFilter

Name Type Nullable
every AttributeValueWhereInput No
some AttributeValueWhereInput No
none AttributeValueWhereInput No

AttributeValueOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

AttributeCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
key SortOrder No
name SortOrder No

AttributeMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
key SortOrder No
name SortOrder No

AttributeMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
key SortOrder No
name SortOrder No

AttributeScalarRelationFilter

Name Type Nullable
is AttributeWhereInput No
isNot AttributeWhereInput No

AttributeValueAttributeIdValueCompoundUniqueInput

Name Type Nullable
attributeId String No
value String No

AttributeValueCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
attributeId SortOrder No
value SortOrder No

AttributeValueMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
attributeId SortOrder No
value SortOrder No

AttributeValueMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
attributeId SortOrder No
value SortOrder No

ProductVariantScalarRelationFilter

Name Type Nullable
is ProductVariantWhereInput No
isNot ProductVariantWhereInput No

AttributeValueScalarRelationFilter

Name Type Nullable
is AttributeValueWhereInput No
isNot AttributeValueWhereInput No

ProductVariantAttributeProductVariantIdAttributeValueIdCompoundUniqueInput

Name Type Nullable
productVariantId String No
attributeValueId String No

ProductVariantAttributeCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
productVariantId SortOrder No
attributeValueId SortOrder No

ProductVariantAttributeMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
productVariantId SortOrder No
attributeValueId SortOrder No

ProductVariantAttributeMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
productVariantId SortOrder No
attributeValueId SortOrder No

CategoryCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

CategoryMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

CategoryMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

CategoryScalarRelationFilter

Name Type Nullable
is CategoryWhereInput No
isNot CategoryWhereInput No

ProductCategoryProductIdCategoryIdCompoundUniqueInput

Name Type Nullable
productId String No
categoryId String No

ProductCategoryCountOrderByAggregateInput

Name Type Nullable
productId SortOrder No
categoryId SortOrder No

ProductCategoryMaxOrderByAggregateInput

Name Type Nullable
productId SortOrder No
categoryId SortOrder No

ProductCategoryMinOrderByAggregateInput

Name Type Nullable
productId SortOrder No
categoryId SortOrder No


EnumCustomerTypeNullableFilter

Name Type Nullable
equals CustomerType | EnumCustomerTypeFieldRefInput | Null Yes
in CustomerType[] | ListEnumCustomerTypeFieldRefInput | Null Yes
notIn CustomerType[] | ListEnumCustomerTypeFieldRefInput | Null Yes
not CustomerType | NestedEnumCustomerTypeNullableFilter | Null Yes

CurrencyScalarRelationFilter

Name Type Nullable
is CurrencyWhereInput No
isNot CurrencyWhereInput No

OrganizationNullableScalarRelationFilter

Name Type Nullable
is OrganizationWhereInput | Null Yes
isNot OrganizationWhereInput | Null Yes

ProductPriceCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
productId SortOrder No
organizationId SortOrder No
priceType SortOrder No
amount SortOrder No
currencyId SortOrder No
customerType SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ProductPriceAvgOrderByAggregateInput

Name Type Nullable
amount SortOrder No

ProductPriceMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
productId SortOrder No
organizationId SortOrder No
priceType SortOrder No
amount SortOrder No
currencyId SortOrder No
customerType SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ProductPriceMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
productId SortOrder No
organizationId SortOrder No
priceType SortOrder No
amount SortOrder No
currencyId SortOrder No
customerType SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ProductPriceSumOrderByAggregateInput

Name Type Nullable
amount SortOrder No




OrganizationCustomerNullableScalarRelationFilter

Name Type Nullable
is OrganizationCustomerWhereInput | Null Yes
isNot OrganizationCustomerWhereInput | Null Yes

ProductTransactionListRelationFilter

Name Type Nullable
every ProductTransactionWhereInput No
some ProductTransactionWhereInput No
none ProductTransactionWhereInput No

ProductTransactionOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

ProductInstanceCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
productVariantId SortOrder No
serialNumber SortOrder No
currentOwnerId SortOrder No
currentStatus SortOrder No
organizationId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ProductInstanceMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
productVariantId SortOrder No
serialNumber SortOrder No
currentOwnerId SortOrder No
currentStatus SortOrder No
organizationId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ProductInstanceMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
productVariantId SortOrder No
serialNumber SortOrder No
currentOwnerId SortOrder No
currentStatus SortOrder No
organizationId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No



ProductInstanceScalarRelationFilter

Name Type Nullable
is ProductInstanceWhereInput No
isNot ProductInstanceWhereInput No

ProductTransactionCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
productInstanceId SortOrder No
fromCustomerId SortOrder No
toCustomerId SortOrder No
toOrganizationId SortOrder No
saleId SortOrder No
action SortOrder No
date SortOrder No
description SortOrder No

ProductTransactionMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
productInstanceId SortOrder No
fromCustomerId SortOrder No
toCustomerId SortOrder No
toOrganizationId SortOrder No
saleId SortOrder No
action SortOrder No
date SortOrder No
description SortOrder No

ProductTransactionMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
productInstanceId SortOrder No
fromCustomerId SortOrder No
toCustomerId SortOrder No
toOrganizationId SortOrder No
saleId SortOrder No
action SortOrder No
date SortOrder No
description SortOrder No


ProductBatchCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
productVariantId SortOrder No
batchNumber SortOrder No
expiryDate SortOrder No
quantity SortOrder No
isValid SortOrder No
createdAt SortOrder No

ProductBatchAvgOrderByAggregateInput

Name Type Nullable
quantity SortOrder No

ProductBatchMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
productVariantId SortOrder No
batchNumber SortOrder No
expiryDate SortOrder No
quantity SortOrder No
isValid SortOrder No
createdAt SortOrder No

ProductBatchMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
productVariantId SortOrder No
batchNumber SortOrder No
expiryDate SortOrder No
quantity SortOrder No
isValid SortOrder No
createdAt SortOrder No

ProductBatchSumOrderByAggregateInput

Name Type Nullable
quantity SortOrder No

StockOrganizationIdProductVariantIdCompoundUniqueInput

Name Type Nullable
organizationId String No
productVariantId String No

StockCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
productVariantId SortOrder No
quantity SortOrder No
updatedAt SortOrder No

StockAvgOrderByAggregateInput

Name Type Nullable
quantity SortOrder No

StockMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
productVariantId SortOrder No
quantity SortOrder No
updatedAt SortOrder No

StockMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
productVariantId SortOrder No
quantity SortOrder No
updatedAt SortOrder No

StockSumOrderByAggregateInput

Name Type Nullable
quantity SortOrder No

KassaCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
name SortOrder No
type SortOrder No
currencyId SortOrder No
balance SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

KassaAvgOrderByAggregateInput

Name Type Nullable
balance SortOrder No

KassaMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
name SortOrder No
type SortOrder No
currencyId SortOrder No
balance SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

KassaMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
name SortOrder No
type SortOrder No
currencyId SortOrder No
balance SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

KassaSumOrderByAggregateInput

Name Type Nullable
balance SortOrder No

KassaScalarRelationFilter

Name Type Nullable
is KassaWhereInput No
isNot KassaWhereInput No

KassaTransferCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
fromKassaId SortOrder No
toKassaId SortOrder No
fromCurrencyId SortOrder No
toCurrencyId SortOrder No
rate SortOrder No
amount SortOrder No
convertedAmount SortOrder No
description SortOrder No
createdAt SortOrder No

KassaTransferAvgOrderByAggregateInput

Name Type Nullable
rate SortOrder No
amount SortOrder No
convertedAmount SortOrder No

KassaTransferMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
fromKassaId SortOrder No
toKassaId SortOrder No
fromCurrencyId SortOrder No
toCurrencyId SortOrder No
rate SortOrder No
amount SortOrder No
convertedAmount SortOrder No
description SortOrder No
createdAt SortOrder No

KassaTransferMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
fromKassaId SortOrder No
toKassaId SortOrder No
fromCurrencyId SortOrder No
toCurrencyId SortOrder No
rate SortOrder No
amount SortOrder No
convertedAmount SortOrder No
description SortOrder No
createdAt SortOrder No

KassaTransferSumOrderByAggregateInput

Name Type Nullable
rate SortOrder No
amount SortOrder No
convertedAmount SortOrder No


PurchaseNullableScalarRelationFilter

Name Type Nullable
is PurchaseWhereInput | Null Yes
isNot PurchaseWhereInput | Null Yes

SaleNullableScalarRelationFilter

Name Type Nullable
is SaleWhereInput | Null Yes
isNot SaleWhereInput | Null Yes

PaymentCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder No
customerId SortOrder No
kassaId SortOrder No
amount SortOrder No
currencyId SortOrder No
type SortOrder No
description SortOrder No
purchaseId SortOrder No
saleId SortOrder No
createdAt SortOrder No

PaymentAvgOrderByAggregateInput

Name Type Nullable
amount SortOrder No

PaymentMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder No
customerId SortOrder No
kassaId SortOrder No
amount SortOrder No
currencyId SortOrder No
type SortOrder No
description SortOrder No
purchaseId SortOrder No
saleId SortOrder No
createdAt SortOrder No

PaymentMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder No
customerId SortOrder No
kassaId SortOrder No
amount SortOrder No
currencyId SortOrder No
type SortOrder No
description SortOrder No
purchaseId SortOrder No
saleId SortOrder No
createdAt SortOrder No

PaymentSumOrderByAggregateInput

Name Type Nullable
amount SortOrder No



OrganizationCustomerScalarRelationFilter

Name Type Nullable
is OrganizationCustomerWhereInput No
isNot OrganizationCustomerWhereInput No

TransactionCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
customerId SortOrder No
relatedType SortOrder No
relatedId SortOrder No
date SortOrder No
debit SortOrder No
credit SortOrder No
balanceAfter SortOrder No
currencyId SortOrder No
description SortOrder No

TransactionAvgOrderByAggregateInput

Name Type Nullable
debit SortOrder No
credit SortOrder No
balanceAfter SortOrder No

TransactionMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
customerId SortOrder No
relatedType SortOrder No
relatedId SortOrder No
date SortOrder No
debit SortOrder No
credit SortOrder No
balanceAfter SortOrder No
currencyId SortOrder No
description SortOrder No

TransactionMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
customerId SortOrder No
relatedType SortOrder No
relatedId SortOrder No
date SortOrder No
debit SortOrder No
credit SortOrder No
balanceAfter SortOrder No
currencyId SortOrder No
description SortOrder No

TransactionSumOrderByAggregateInput

Name Type Nullable
debit SortOrder No
credit SortOrder No
balanceAfter SortOrder No



KassaNullableScalarRelationFilter

Name Type Nullable
is KassaWhereInput | Null Yes
isNot KassaWhereInput | Null Yes

SaleCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
customerId SortOrder No
responsibleId SortOrder No
kassaId SortOrder No
invoiceNumber SortOrder No
saleDate SortOrder No
totalAmount SortOrder No
paidAmount SortOrder No
currencyId SortOrder No
status SortOrder No
notes SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

SaleAvgOrderByAggregateInput

Name Type Nullable
totalAmount SortOrder No
paidAmount SortOrder No

SaleMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
customerId SortOrder No
responsibleId SortOrder No
kassaId SortOrder No
invoiceNumber SortOrder No
saleDate SortOrder No
totalAmount SortOrder No
paidAmount SortOrder No
currencyId SortOrder No
status SortOrder No
notes SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

SaleMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
customerId SortOrder No
responsibleId SortOrder No
kassaId SortOrder No
invoiceNumber SortOrder No
saleDate SortOrder No
totalAmount SortOrder No
paidAmount SortOrder No
currencyId SortOrder No
status SortOrder No
notes SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

SaleSumOrderByAggregateInput

Name Type Nullable
totalAmount SortOrder No
paidAmount SortOrder No


SaleScalarRelationFilter

Name Type Nullable
is SaleWhereInput No
isNot SaleWhereInput No

SaleItemCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
saleId SortOrder No
productVariantId SortOrder No
quantity SortOrder No
price SortOrder No
total SortOrder No
currencyId SortOrder No

SaleItemAvgOrderByAggregateInput

Name Type Nullable
quantity SortOrder No
price SortOrder No
total SortOrder No

SaleItemMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
saleId SortOrder No
productVariantId SortOrder No
quantity SortOrder No
price SortOrder No
total SortOrder No
currencyId SortOrder No

SaleItemMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
saleId SortOrder No
productVariantId SortOrder No
quantity SortOrder No
price SortOrder No
total SortOrder No
currencyId SortOrder No

SaleItemSumOrderByAggregateInput

Name Type Nullable
quantity SortOrder No
price SortOrder No
total SortOrder No


PurchaseCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
supplierId SortOrder No
responsibleId SortOrder No
kassaId SortOrder No
invoiceNumber SortOrder No
purchaseDate SortOrder No
totalAmount SortOrder No
paidAmount SortOrder No
currencyId SortOrder No
status SortOrder No
notes SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PurchaseAvgOrderByAggregateInput

Name Type Nullable
totalAmount SortOrder No
paidAmount SortOrder No

PurchaseMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
supplierId SortOrder No
responsibleId SortOrder No
kassaId SortOrder No
invoiceNumber SortOrder No
purchaseDate SortOrder No
totalAmount SortOrder No
paidAmount SortOrder No
currencyId SortOrder No
status SortOrder No
notes SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PurchaseMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
supplierId SortOrder No
responsibleId SortOrder No
kassaId SortOrder No
invoiceNumber SortOrder No
purchaseDate SortOrder No
totalAmount SortOrder No
paidAmount SortOrder No
currencyId SortOrder No
status SortOrder No
notes SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PurchaseSumOrderByAggregateInput

Name Type Nullable
totalAmount SortOrder No
paidAmount SortOrder No


PurchaseScalarRelationFilter

Name Type Nullable
is PurchaseWhereInput No
isNot PurchaseWhereInput No

PurchaseItemCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
purchaseId SortOrder No
productVariantId SortOrder No
quantity SortOrder No
price SortOrder No
discount SortOrder No
total SortOrder No

PurchaseItemAvgOrderByAggregateInput

Name Type Nullable
quantity SortOrder No
price SortOrder No
discount SortOrder No
total SortOrder No

PurchaseItemMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
purchaseId SortOrder No
productVariantId SortOrder No
quantity SortOrder No
price SortOrder No
discount SortOrder No
total SortOrder No

PurchaseItemMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
purchaseId SortOrder No
productVariantId SortOrder No
quantity SortOrder No
price SortOrder No
discount SortOrder No
total SortOrder No

PurchaseItemSumOrderByAggregateInput

Name Type Nullable
quantity SortOrder No
price SortOrder No
discount SortOrder No
total SortOrder No


InstallmentCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
saleId SortOrder No
customerId SortOrder No
totalAmount SortOrder No
initialPayment SortOrder No
paidAmount SortOrder No
remaining SortOrder No
totalMonths SortOrder No
monthsLeft SortOrder No
monthlyPayment SortOrder No
dueDate SortOrder No
status SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

InstallmentAvgOrderByAggregateInput

Name Type Nullable
totalAmount SortOrder No
initialPayment SortOrder No
paidAmount SortOrder No
remaining SortOrder No
totalMonths SortOrder No
monthsLeft SortOrder No
monthlyPayment SortOrder No

InstallmentMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
saleId SortOrder No
customerId SortOrder No
totalAmount SortOrder No
initialPayment SortOrder No
paidAmount SortOrder No
remaining SortOrder No
totalMonths SortOrder No
monthsLeft SortOrder No
monthlyPayment SortOrder No
dueDate SortOrder No
status SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

InstallmentMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
saleId SortOrder No
customerId SortOrder No
totalAmount SortOrder No
initialPayment SortOrder No
paidAmount SortOrder No
remaining SortOrder No
totalMonths SortOrder No
monthsLeft SortOrder No
monthlyPayment SortOrder No
dueDate SortOrder No
status SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

InstallmentSumOrderByAggregateInput

Name Type Nullable
totalAmount SortOrder No
initialPayment SortOrder No
paidAmount SortOrder No
remaining SortOrder No
totalMonths SortOrder No
monthsLeft SortOrder No
monthlyPayment SortOrder No


InstallmentScalarRelationFilter

Name Type Nullable
is InstallmentWhereInput No
isNot InstallmentWhereInput No

PaymentNullableScalarRelationFilter

Name Type Nullable
is PaymentWhereInput | Null Yes
isNot PaymentWhereInput | Null Yes

InstallmentPaymentCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
installmentId SortOrder No
amount SortOrder No
paidAt SortOrder No
paymentMethod SortOrder No
note SortOrder No
createdById SortOrder No
paymentId SortOrder No

InstallmentPaymentAvgOrderByAggregateInput

Name Type Nullable
amount SortOrder No

InstallmentPaymentMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
installmentId SortOrder No
amount SortOrder No
paidAt SortOrder No
paymentMethod SortOrder No
note SortOrder No
createdById SortOrder No
paymentId SortOrder No

InstallmentPaymentMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
installmentId SortOrder No
amount SortOrder No
paidAt SortOrder No
paymentMethod SortOrder No
note SortOrder No
createdById SortOrder No
paymentId SortOrder No

InstallmentPaymentSumOrderByAggregateInput

Name Type Nullable
amount SortOrder No


DocumentCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
customerId SortOrder No
saleId SortOrder No
type SortOrder No
fileUrl SortOrder No
uploadedById SortOrder No
createdAt SortOrder No

DocumentMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
customerId SortOrder No
saleId SortOrder No
type SortOrder No
fileUrl SortOrder No
uploadedById SortOrder No
createdAt SortOrder No

DocumentMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
customerId SortOrder No
saleId SortOrder No
type SortOrder No
fileUrl SortOrder No
uploadedById SortOrder No
createdAt SortOrder No



SettingsCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
baseCurrencyId SortOrder No
language SortOrder No
dateFormat SortOrder No
enableInstallment SortOrder No
enableNotifications SortOrder No
enableAutoRateUpdate SortOrder No
taxPercent SortOrder No
logoUrl SortOrder No
theme SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

SettingsAvgOrderByAggregateInput

Name Type Nullable
taxPercent SortOrder No

SettingsMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
baseCurrencyId SortOrder No
language SortOrder No
dateFormat SortOrder No
enableInstallment SortOrder No
enableNotifications SortOrder No
enableAutoRateUpdate SortOrder No
taxPercent SortOrder No
logoUrl SortOrder No
theme SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

SettingsMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
baseCurrencyId SortOrder No
language SortOrder No
dateFormat SortOrder No
enableInstallment SortOrder No
enableNotifications SortOrder No
enableAutoRateUpdate SortOrder No
taxPercent SortOrder No
logoUrl SortOrder No
theme SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

SettingsSumOrderByAggregateInput

Name Type Nullable
taxPercent SortOrder No


JsonNullableFilter

Name Type Nullable
equals Json | JsonFieldRefInput | JsonNullValueFilter No
path String No
mode QueryMode | EnumQueryModeFieldRefInput No
string_contains String | StringFieldRefInput No
string_starts_with String | StringFieldRefInput No
string_ends_with String | StringFieldRefInput No
array_starts_with Json | JsonFieldRefInput | Null Yes
array_ends_with Json | JsonFieldRefInput | Null Yes
array_contains Json | JsonFieldRefInput | Null Yes
lt Json | JsonFieldRefInput No
lte Json | JsonFieldRefInput No
gt Json | JsonFieldRefInput No
gte Json | JsonFieldRefInput No
not Json | JsonFieldRefInput | JsonNullValueFilter No

AuditLogCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder No
action SortOrder No
entity SortOrder No
entityId SortOrder No
oldValue SortOrder No
newValue SortOrder No
note SortOrder No
createdAt SortOrder No

AuditLogMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder No
action SortOrder No
entity SortOrder No
entityId SortOrder No
note SortOrder No
createdAt SortOrder No

AuditLogMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
organizationId SortOrder No
userId SortOrder No
action SortOrder No
entity SortOrder No
entityId SortOrder No
note SortOrder No
createdAt SortOrder No

JsonNullableWithAggregatesFilter

Name Type Nullable
equals Json | JsonFieldRefInput | JsonNullValueFilter No
path String No
mode QueryMode | EnumQueryModeFieldRefInput No
string_contains String | StringFieldRefInput No
string_starts_with String | StringFieldRefInput No
string_ends_with String | StringFieldRefInput No
array_starts_with Json | JsonFieldRefInput | Null Yes
array_ends_with Json | JsonFieldRefInput | Null Yes
array_contains Json | JsonFieldRefInput | Null Yes
lt Json | JsonFieldRefInput No
lte Json | JsonFieldRefInput No
gt Json | JsonFieldRefInput No
gte Json | JsonFieldRefInput No
not Json | JsonFieldRefInput | JsonNullValueFilter No
_count NestedIntNullableFilter No
_min NestedJsonNullableFilter No
_max NestedJsonNullableFilter No























StringFieldUpdateOperationsInput

Name Type Nullable
set String No

DateTimeFieldUpdateOperationsInput

Name Type Nullable
set DateTime No

ProductPriceUpdateManyWithoutCurrencyNestedInput

Name Type Nullable
create ProductPriceCreateWithoutCurrencyInput | ProductPriceCreateWithoutCurrencyInput[] | ProductPriceUncheckedCreateWithoutCurrencyInput | ProductPriceUncheckedCreateWithoutCurrencyInput[] No
connectOrCreate ProductPriceCreateOrConnectWithoutCurrencyInput | ProductPriceCreateOrConnectWithoutCurrencyInput[] No
upsert ProductPriceUpsertWithWhereUniqueWithoutCurrencyInput | ProductPriceUpsertWithWhereUniqueWithoutCurrencyInput[] No
createMany ProductPriceCreateManyCurrencyInputEnvelope No
set ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
disconnect ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
delete ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
connect ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
update ProductPriceUpdateWithWhereUniqueWithoutCurrencyInput | ProductPriceUpdateWithWhereUniqueWithoutCurrencyInput[] No
updateMany ProductPriceUpdateManyWithWhereWithoutCurrencyInput | ProductPriceUpdateManyWithWhereWithoutCurrencyInput[] No
deleteMany ProductPriceScalarWhereInput | ProductPriceScalarWhereInput[] No

KassaUpdateManyWithoutCurrencyNestedInput

Name Type Nullable
create KassaCreateWithoutCurrencyInput | KassaCreateWithoutCurrencyInput[] | KassaUncheckedCreateWithoutCurrencyInput | KassaUncheckedCreateWithoutCurrencyInput[] No
connectOrCreate KassaCreateOrConnectWithoutCurrencyInput | KassaCreateOrConnectWithoutCurrencyInput[] No
upsert KassaUpsertWithWhereUniqueWithoutCurrencyInput | KassaUpsertWithWhereUniqueWithoutCurrencyInput[] No
createMany KassaCreateManyCurrencyInputEnvelope No
set KassaWhereUniqueInput | KassaWhereUniqueInput[] No
disconnect KassaWhereUniqueInput | KassaWhereUniqueInput[] No
delete KassaWhereUniqueInput | KassaWhereUniqueInput[] No
connect KassaWhereUniqueInput | KassaWhereUniqueInput[] No
update KassaUpdateWithWhereUniqueWithoutCurrencyInput | KassaUpdateWithWhereUniqueWithoutCurrencyInput[] No
updateMany KassaUpdateManyWithWhereWithoutCurrencyInput | KassaUpdateManyWithWhereWithoutCurrencyInput[] No
deleteMany KassaScalarWhereInput | KassaScalarWhereInput[] No

PaymentUpdateManyWithoutCurrencyNestedInput

Name Type Nullable
create PaymentCreateWithoutCurrencyInput | PaymentCreateWithoutCurrencyInput[] | PaymentUncheckedCreateWithoutCurrencyInput | PaymentUncheckedCreateWithoutCurrencyInput[] No
connectOrCreate PaymentCreateOrConnectWithoutCurrencyInput | PaymentCreateOrConnectWithoutCurrencyInput[] No
upsert PaymentUpsertWithWhereUniqueWithoutCurrencyInput | PaymentUpsertWithWhereUniqueWithoutCurrencyInput[] No
createMany PaymentCreateManyCurrencyInputEnvelope No
set PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
disconnect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
delete PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
connect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
update PaymentUpdateWithWhereUniqueWithoutCurrencyInput | PaymentUpdateWithWhereUniqueWithoutCurrencyInput[] No
updateMany PaymentUpdateManyWithWhereWithoutCurrencyInput | PaymentUpdateManyWithWhereWithoutCurrencyInput[] No
deleteMany PaymentScalarWhereInput | PaymentScalarWhereInput[] No

TransactionUpdateManyWithoutCurrencyNestedInput

Name Type Nullable
create TransactionCreateWithoutCurrencyInput | TransactionCreateWithoutCurrencyInput[] | TransactionUncheckedCreateWithoutCurrencyInput | TransactionUncheckedCreateWithoutCurrencyInput[] No
connectOrCreate TransactionCreateOrConnectWithoutCurrencyInput | TransactionCreateOrConnectWithoutCurrencyInput[] No
upsert TransactionUpsertWithWhereUniqueWithoutCurrencyInput | TransactionUpsertWithWhereUniqueWithoutCurrencyInput[] No
createMany TransactionCreateManyCurrencyInputEnvelope No
set TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
disconnect TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
delete TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
connect TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
update TransactionUpdateWithWhereUniqueWithoutCurrencyInput | TransactionUpdateWithWhereUniqueWithoutCurrencyInput[] No
updateMany TransactionUpdateManyWithWhereWithoutCurrencyInput | TransactionUpdateManyWithWhereWithoutCurrencyInput[] No
deleteMany TransactionScalarWhereInput | TransactionScalarWhereInput[] No

SaleUpdateManyWithoutCurrencyNestedInput

Name Type Nullable
create SaleCreateWithoutCurrencyInput | SaleCreateWithoutCurrencyInput[] | SaleUncheckedCreateWithoutCurrencyInput | SaleUncheckedCreateWithoutCurrencyInput[] No
connectOrCreate SaleCreateOrConnectWithoutCurrencyInput | SaleCreateOrConnectWithoutCurrencyInput[] No
upsert SaleUpsertWithWhereUniqueWithoutCurrencyInput | SaleUpsertWithWhereUniqueWithoutCurrencyInput[] No
createMany SaleCreateManyCurrencyInputEnvelope No
set SaleWhereUniqueInput | SaleWhereUniqueInput[] No
disconnect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
delete SaleWhereUniqueInput | SaleWhereUniqueInput[] No
connect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
update SaleUpdateWithWhereUniqueWithoutCurrencyInput | SaleUpdateWithWhereUniqueWithoutCurrencyInput[] No
updateMany SaleUpdateManyWithWhereWithoutCurrencyInput | SaleUpdateManyWithWhereWithoutCurrencyInput[] No
deleteMany SaleScalarWhereInput | SaleScalarWhereInput[] No

SaleItemUpdateManyWithoutCurrencyNestedInput

Name Type Nullable
create SaleItemCreateWithoutCurrencyInput | SaleItemCreateWithoutCurrencyInput[] | SaleItemUncheckedCreateWithoutCurrencyInput | SaleItemUncheckedCreateWithoutCurrencyInput[] No
connectOrCreate SaleItemCreateOrConnectWithoutCurrencyInput | SaleItemCreateOrConnectWithoutCurrencyInput[] No
upsert SaleItemUpsertWithWhereUniqueWithoutCurrencyInput | SaleItemUpsertWithWhereUniqueWithoutCurrencyInput[] No
createMany SaleItemCreateManyCurrencyInputEnvelope No
set SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
disconnect SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
delete SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
connect SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
update SaleItemUpdateWithWhereUniqueWithoutCurrencyInput | SaleItemUpdateWithWhereUniqueWithoutCurrencyInput[] No
updateMany SaleItemUpdateManyWithWhereWithoutCurrencyInput | SaleItemUpdateManyWithWhereWithoutCurrencyInput[] No
deleteMany SaleItemScalarWhereInput | SaleItemScalarWhereInput[] No

PurchaseUpdateManyWithoutCurrencyNestedInput

Name Type Nullable
create PurchaseCreateWithoutCurrencyInput | PurchaseCreateWithoutCurrencyInput[] | PurchaseUncheckedCreateWithoutCurrencyInput | PurchaseUncheckedCreateWithoutCurrencyInput[] No
connectOrCreate PurchaseCreateOrConnectWithoutCurrencyInput | PurchaseCreateOrConnectWithoutCurrencyInput[] No
upsert PurchaseUpsertWithWhereUniqueWithoutCurrencyInput | PurchaseUpsertWithWhereUniqueWithoutCurrencyInput[] No
createMany PurchaseCreateManyCurrencyInputEnvelope No
set PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
disconnect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
delete PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
connect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
update PurchaseUpdateWithWhereUniqueWithoutCurrencyInput | PurchaseUpdateWithWhereUniqueWithoutCurrencyInput[] No
updateMany PurchaseUpdateManyWithWhereWithoutCurrencyInput | PurchaseUpdateManyWithWhereWithoutCurrencyInput[] No
deleteMany PurchaseScalarWhereInput | PurchaseScalarWhereInput[] No

KassaTransferUpdateManyWithoutFrom_currencyNestedInput

Name Type Nullable
create KassaTransferCreateWithoutFrom_currencyInput | KassaTransferCreateWithoutFrom_currencyInput[] | KassaTransferUncheckedCreateWithoutFrom_currencyInput | KassaTransferUncheckedCreateWithoutFrom_currencyInput[] No
connectOrCreate KassaTransferCreateOrConnectWithoutFrom_currencyInput | KassaTransferCreateOrConnectWithoutFrom_currencyInput[] No
upsert KassaTransferUpsertWithWhereUniqueWithoutFrom_currencyInput | KassaTransferUpsertWithWhereUniqueWithoutFrom_currencyInput[] No
createMany KassaTransferCreateManyFrom_currencyInputEnvelope No
set KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
disconnect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
delete KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
connect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
update KassaTransferUpdateWithWhereUniqueWithoutFrom_currencyInput | KassaTransferUpdateWithWhereUniqueWithoutFrom_currencyInput[] No
updateMany KassaTransferUpdateManyWithWhereWithoutFrom_currencyInput | KassaTransferUpdateManyWithWhereWithoutFrom_currencyInput[] No
deleteMany KassaTransferScalarWhereInput | KassaTransferScalarWhereInput[] No

KassaTransferUpdateManyWithoutTo_currencyNestedInput

Name Type Nullable
create KassaTransferCreateWithoutTo_currencyInput | KassaTransferCreateWithoutTo_currencyInput[] | KassaTransferUncheckedCreateWithoutTo_currencyInput | KassaTransferUncheckedCreateWithoutTo_currencyInput[] No
connectOrCreate KassaTransferCreateOrConnectWithoutTo_currencyInput | KassaTransferCreateOrConnectWithoutTo_currencyInput[] No
upsert KassaTransferUpsertWithWhereUniqueWithoutTo_currencyInput | KassaTransferUpsertWithWhereUniqueWithoutTo_currencyInput[] No
createMany KassaTransferCreateManyTo_currencyInputEnvelope No
set KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
disconnect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
delete KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
connect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
update KassaTransferUpdateWithWhereUniqueWithoutTo_currencyInput | KassaTransferUpdateWithWhereUniqueWithoutTo_currencyInput[] No
updateMany KassaTransferUpdateManyWithWhereWithoutTo_currencyInput | KassaTransferUpdateManyWithWhereWithoutTo_currencyInput[] No
deleteMany KassaTransferScalarWhereInput | KassaTransferScalarWhereInput[] No

SettingsUpdateManyWithoutBaseCurrencyNestedInput

Name Type Nullable
create SettingsCreateWithoutBaseCurrencyInput | SettingsCreateWithoutBaseCurrencyInput[] | SettingsUncheckedCreateWithoutBaseCurrencyInput | SettingsUncheckedCreateWithoutBaseCurrencyInput[] No
connectOrCreate SettingsCreateOrConnectWithoutBaseCurrencyInput | SettingsCreateOrConnectWithoutBaseCurrencyInput[] No
upsert SettingsUpsertWithWhereUniqueWithoutBaseCurrencyInput | SettingsUpsertWithWhereUniqueWithoutBaseCurrencyInput[] No
createMany SettingsCreateManyBaseCurrencyInputEnvelope No
set SettingsWhereUniqueInput | SettingsWhereUniqueInput[] No
disconnect SettingsWhereUniqueInput | SettingsWhereUniqueInput[] No
delete SettingsWhereUniqueInput | SettingsWhereUniqueInput[] No
connect SettingsWhereUniqueInput | SettingsWhereUniqueInput[] No
update SettingsUpdateWithWhereUniqueWithoutBaseCurrencyInput | SettingsUpdateWithWhereUniqueWithoutBaseCurrencyInput[] No
updateMany SettingsUpdateManyWithWhereWithoutBaseCurrencyInput | SettingsUpdateManyWithWhereWithoutBaseCurrencyInput[] No
deleteMany SettingsScalarWhereInput | SettingsScalarWhereInput[] No

ProductVariantUpdateManyWithoutCurrencyNestedInput

Name Type Nullable
create ProductVariantCreateWithoutCurrencyInput | ProductVariantCreateWithoutCurrencyInput[] | ProductVariantUncheckedCreateWithoutCurrencyInput | ProductVariantUncheckedCreateWithoutCurrencyInput[] No
connectOrCreate ProductVariantCreateOrConnectWithoutCurrencyInput | ProductVariantCreateOrConnectWithoutCurrencyInput[] No
upsert ProductVariantUpsertWithWhereUniqueWithoutCurrencyInput | ProductVariantUpsertWithWhereUniqueWithoutCurrencyInput[] No
createMany ProductVariantCreateManyCurrencyInputEnvelope No
set ProductVariantWhereUniqueInput | ProductVariantWhereUniqueInput[] No
disconnect ProductVariantWhereUniqueInput | ProductVariantWhereUniqueInput[] No
delete ProductVariantWhereUniqueInput | ProductVariantWhereUniqueInput[] No
connect ProductVariantWhereUniqueInput | ProductVariantWhereUniqueInput[] No
update ProductVariantUpdateWithWhereUniqueWithoutCurrencyInput | ProductVariantUpdateWithWhereUniqueWithoutCurrencyInput[] No
updateMany ProductVariantUpdateManyWithWhereWithoutCurrencyInput | ProductVariantUpdateManyWithWhereWithoutCurrencyInput[] No
deleteMany ProductVariantScalarWhereInput | ProductVariantScalarWhereInput[] No

ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput

Name Type Nullable
create ProductPriceCreateWithoutCurrencyInput | ProductPriceCreateWithoutCurrencyInput[] | ProductPriceUncheckedCreateWithoutCurrencyInput | ProductPriceUncheckedCreateWithoutCurrencyInput[] No
connectOrCreate ProductPriceCreateOrConnectWithoutCurrencyInput | ProductPriceCreateOrConnectWithoutCurrencyInput[] No
upsert ProductPriceUpsertWithWhereUniqueWithoutCurrencyInput | ProductPriceUpsertWithWhereUniqueWithoutCurrencyInput[] No
createMany ProductPriceCreateManyCurrencyInputEnvelope No
set ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
disconnect ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
delete ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
connect ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
update ProductPriceUpdateWithWhereUniqueWithoutCurrencyInput | ProductPriceUpdateWithWhereUniqueWithoutCurrencyInput[] No
updateMany ProductPriceUpdateManyWithWhereWithoutCurrencyInput | ProductPriceUpdateManyWithWhereWithoutCurrencyInput[] No
deleteMany ProductPriceScalarWhereInput | ProductPriceScalarWhereInput[] No

KassaUncheckedUpdateManyWithoutCurrencyNestedInput

Name Type Nullable
create KassaCreateWithoutCurrencyInput | KassaCreateWithoutCurrencyInput[] | KassaUncheckedCreateWithoutCurrencyInput | KassaUncheckedCreateWithoutCurrencyInput[] No
connectOrCreate KassaCreateOrConnectWithoutCurrencyInput | KassaCreateOrConnectWithoutCurrencyInput[] No
upsert KassaUpsertWithWhereUniqueWithoutCurrencyInput | KassaUpsertWithWhereUniqueWithoutCurrencyInput[] No
createMany KassaCreateManyCurrencyInputEnvelope No
set KassaWhereUniqueInput | KassaWhereUniqueInput[] No
disconnect KassaWhereUniqueInput | KassaWhereUniqueInput[] No
delete KassaWhereUniqueInput | KassaWhereUniqueInput[] No
connect KassaWhereUniqueInput | KassaWhereUniqueInput[] No
update KassaUpdateWithWhereUniqueWithoutCurrencyInput | KassaUpdateWithWhereUniqueWithoutCurrencyInput[] No
updateMany KassaUpdateManyWithWhereWithoutCurrencyInput | KassaUpdateManyWithWhereWithoutCurrencyInput[] No
deleteMany KassaScalarWhereInput | KassaScalarWhereInput[] No

PaymentUncheckedUpdateManyWithoutCurrencyNestedInput

Name Type Nullable
create PaymentCreateWithoutCurrencyInput | PaymentCreateWithoutCurrencyInput[] | PaymentUncheckedCreateWithoutCurrencyInput | PaymentUncheckedCreateWithoutCurrencyInput[] No
connectOrCreate PaymentCreateOrConnectWithoutCurrencyInput | PaymentCreateOrConnectWithoutCurrencyInput[] No
upsert PaymentUpsertWithWhereUniqueWithoutCurrencyInput | PaymentUpsertWithWhereUniqueWithoutCurrencyInput[] No
createMany PaymentCreateManyCurrencyInputEnvelope No
set PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
disconnect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
delete PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
connect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
update PaymentUpdateWithWhereUniqueWithoutCurrencyInput | PaymentUpdateWithWhereUniqueWithoutCurrencyInput[] No
updateMany PaymentUpdateManyWithWhereWithoutCurrencyInput | PaymentUpdateManyWithWhereWithoutCurrencyInput[] No
deleteMany PaymentScalarWhereInput | PaymentScalarWhereInput[] No

TransactionUncheckedUpdateManyWithoutCurrencyNestedInput

Name Type Nullable
create TransactionCreateWithoutCurrencyInput | TransactionCreateWithoutCurrencyInput[] | TransactionUncheckedCreateWithoutCurrencyInput | TransactionUncheckedCreateWithoutCurrencyInput[] No
connectOrCreate TransactionCreateOrConnectWithoutCurrencyInput | TransactionCreateOrConnectWithoutCurrencyInput[] No
upsert TransactionUpsertWithWhereUniqueWithoutCurrencyInput | TransactionUpsertWithWhereUniqueWithoutCurrencyInput[] No
createMany TransactionCreateManyCurrencyInputEnvelope No
set TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
disconnect TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
delete TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
connect TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
update TransactionUpdateWithWhereUniqueWithoutCurrencyInput | TransactionUpdateWithWhereUniqueWithoutCurrencyInput[] No
updateMany TransactionUpdateManyWithWhereWithoutCurrencyInput | TransactionUpdateManyWithWhereWithoutCurrencyInput[] No
deleteMany TransactionScalarWhereInput | TransactionScalarWhereInput[] No

SaleUncheckedUpdateManyWithoutCurrencyNestedInput

Name Type Nullable
create SaleCreateWithoutCurrencyInput | SaleCreateWithoutCurrencyInput[] | SaleUncheckedCreateWithoutCurrencyInput | SaleUncheckedCreateWithoutCurrencyInput[] No
connectOrCreate SaleCreateOrConnectWithoutCurrencyInput | SaleCreateOrConnectWithoutCurrencyInput[] No
upsert SaleUpsertWithWhereUniqueWithoutCurrencyInput | SaleUpsertWithWhereUniqueWithoutCurrencyInput[] No
createMany SaleCreateManyCurrencyInputEnvelope No
set SaleWhereUniqueInput | SaleWhereUniqueInput[] No
disconnect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
delete SaleWhereUniqueInput | SaleWhereUniqueInput[] No
connect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
update SaleUpdateWithWhereUniqueWithoutCurrencyInput | SaleUpdateWithWhereUniqueWithoutCurrencyInput[] No
updateMany SaleUpdateManyWithWhereWithoutCurrencyInput | SaleUpdateManyWithWhereWithoutCurrencyInput[] No
deleteMany SaleScalarWhereInput | SaleScalarWhereInput[] No

SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput

Name Type Nullable
create SaleItemCreateWithoutCurrencyInput | SaleItemCreateWithoutCurrencyInput[] | SaleItemUncheckedCreateWithoutCurrencyInput | SaleItemUncheckedCreateWithoutCurrencyInput[] No
connectOrCreate SaleItemCreateOrConnectWithoutCurrencyInput | SaleItemCreateOrConnectWithoutCurrencyInput[] No
upsert SaleItemUpsertWithWhereUniqueWithoutCurrencyInput | SaleItemUpsertWithWhereUniqueWithoutCurrencyInput[] No
createMany SaleItemCreateManyCurrencyInputEnvelope No
set SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
disconnect SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
delete SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
connect SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
update SaleItemUpdateWithWhereUniqueWithoutCurrencyInput | SaleItemUpdateWithWhereUniqueWithoutCurrencyInput[] No
updateMany SaleItemUpdateManyWithWhereWithoutCurrencyInput | SaleItemUpdateManyWithWhereWithoutCurrencyInput[] No
deleteMany SaleItemScalarWhereInput | SaleItemScalarWhereInput[] No

PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput

Name Type Nullable
create PurchaseCreateWithoutCurrencyInput | PurchaseCreateWithoutCurrencyInput[] | PurchaseUncheckedCreateWithoutCurrencyInput | PurchaseUncheckedCreateWithoutCurrencyInput[] No
connectOrCreate PurchaseCreateOrConnectWithoutCurrencyInput | PurchaseCreateOrConnectWithoutCurrencyInput[] No
upsert PurchaseUpsertWithWhereUniqueWithoutCurrencyInput | PurchaseUpsertWithWhereUniqueWithoutCurrencyInput[] No
createMany PurchaseCreateManyCurrencyInputEnvelope No
set PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
disconnect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
delete PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
connect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
update PurchaseUpdateWithWhereUniqueWithoutCurrencyInput | PurchaseUpdateWithWhereUniqueWithoutCurrencyInput[] No
updateMany PurchaseUpdateManyWithWhereWithoutCurrencyInput | PurchaseUpdateManyWithWhereWithoutCurrencyInput[] No
deleteMany PurchaseScalarWhereInput | PurchaseScalarWhereInput[] No

KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput

Name Type Nullable
create KassaTransferCreateWithoutFrom_currencyInput | KassaTransferCreateWithoutFrom_currencyInput[] | KassaTransferUncheckedCreateWithoutFrom_currencyInput | KassaTransferUncheckedCreateWithoutFrom_currencyInput[] No
connectOrCreate KassaTransferCreateOrConnectWithoutFrom_currencyInput | KassaTransferCreateOrConnectWithoutFrom_currencyInput[] No
upsert KassaTransferUpsertWithWhereUniqueWithoutFrom_currencyInput | KassaTransferUpsertWithWhereUniqueWithoutFrom_currencyInput[] No
createMany KassaTransferCreateManyFrom_currencyInputEnvelope No
set KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
disconnect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
delete KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
connect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
update KassaTransferUpdateWithWhereUniqueWithoutFrom_currencyInput | KassaTransferUpdateWithWhereUniqueWithoutFrom_currencyInput[] No
updateMany KassaTransferUpdateManyWithWhereWithoutFrom_currencyInput | KassaTransferUpdateManyWithWhereWithoutFrom_currencyInput[] No
deleteMany KassaTransferScalarWhereInput | KassaTransferScalarWhereInput[] No

KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput

Name Type Nullable
create KassaTransferCreateWithoutTo_currencyInput | KassaTransferCreateWithoutTo_currencyInput[] | KassaTransferUncheckedCreateWithoutTo_currencyInput | KassaTransferUncheckedCreateWithoutTo_currencyInput[] No
connectOrCreate KassaTransferCreateOrConnectWithoutTo_currencyInput | KassaTransferCreateOrConnectWithoutTo_currencyInput[] No
upsert KassaTransferUpsertWithWhereUniqueWithoutTo_currencyInput | KassaTransferUpsertWithWhereUniqueWithoutTo_currencyInput[] No
createMany KassaTransferCreateManyTo_currencyInputEnvelope No
set KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
disconnect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
delete KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
connect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
update KassaTransferUpdateWithWhereUniqueWithoutTo_currencyInput | KassaTransferUpdateWithWhereUniqueWithoutTo_currencyInput[] No
updateMany KassaTransferUpdateManyWithWhereWithoutTo_currencyInput | KassaTransferUpdateManyWithWhereWithoutTo_currencyInput[] No
deleteMany KassaTransferScalarWhereInput | KassaTransferScalarWhereInput[] No

SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput

Name Type Nullable
create SettingsCreateWithoutBaseCurrencyInput | SettingsCreateWithoutBaseCurrencyInput[] | SettingsUncheckedCreateWithoutBaseCurrencyInput | SettingsUncheckedCreateWithoutBaseCurrencyInput[] No
connectOrCreate SettingsCreateOrConnectWithoutBaseCurrencyInput | SettingsCreateOrConnectWithoutBaseCurrencyInput[] No
upsert SettingsUpsertWithWhereUniqueWithoutBaseCurrencyInput | SettingsUpsertWithWhereUniqueWithoutBaseCurrencyInput[] No
createMany SettingsCreateManyBaseCurrencyInputEnvelope No
set SettingsWhereUniqueInput | SettingsWhereUniqueInput[] No
disconnect SettingsWhereUniqueInput | SettingsWhereUniqueInput[] No
delete SettingsWhereUniqueInput | SettingsWhereUniqueInput[] No
connect SettingsWhereUniqueInput | SettingsWhereUniqueInput[] No
update SettingsUpdateWithWhereUniqueWithoutBaseCurrencyInput | SettingsUpdateWithWhereUniqueWithoutBaseCurrencyInput[] No
updateMany SettingsUpdateManyWithWhereWithoutBaseCurrencyInput | SettingsUpdateManyWithWhereWithoutBaseCurrencyInput[] No
deleteMany SettingsScalarWhereInput | SettingsScalarWhereInput[] No

ProductVariantUncheckedUpdateManyWithoutCurrencyNestedInput

Name Type Nullable
create ProductVariantCreateWithoutCurrencyInput | ProductVariantCreateWithoutCurrencyInput[] | ProductVariantUncheckedCreateWithoutCurrencyInput | ProductVariantUncheckedCreateWithoutCurrencyInput[] No
connectOrCreate ProductVariantCreateOrConnectWithoutCurrencyInput | ProductVariantCreateOrConnectWithoutCurrencyInput[] No
upsert ProductVariantUpsertWithWhereUniqueWithoutCurrencyInput | ProductVariantUpsertWithWhereUniqueWithoutCurrencyInput[] No
createMany ProductVariantCreateManyCurrencyInputEnvelope No
set ProductVariantWhereUniqueInput | ProductVariantWhereUniqueInput[] No
disconnect ProductVariantWhereUniqueInput | ProductVariantWhereUniqueInput[] No
delete ProductVariantWhereUniqueInput | ProductVariantWhereUniqueInput[] No
connect ProductVariantWhereUniqueInput | ProductVariantWhereUniqueInput[] No
update ProductVariantUpdateWithWhereUniqueWithoutCurrencyInput | ProductVariantUpdateWithWhereUniqueWithoutCurrencyInput[] No
updateMany ProductVariantUpdateManyWithWhereWithoutCurrencyInput | ProductVariantUpdateManyWithWhereWithoutCurrencyInput[] No
deleteMany ProductVariantScalarWhereInput | ProductVariantScalarWhereInput[] No

DecimalFieldUpdateOperationsInput

Name Type Nullable
set Decimal No
increment Decimal No
decrement Decimal No
multiply Decimal No
divide Decimal No













SettingsCreateNestedOneWithoutOrganizationInput

Name Type Nullable
create SettingsCreateWithoutOrganizationInput | SettingsUncheckedCreateWithoutOrganizationInput No
connectOrCreate SettingsCreateOrConnectWithoutOrganizationInput No
connect SettingsWhereUniqueInput No















SettingsUncheckedCreateNestedOneWithoutOrganizationInput

Name Type Nullable
create SettingsCreateWithoutOrganizationInput | SettingsUncheckedCreateWithoutOrganizationInput No
connectOrCreate SettingsCreateOrConnectWithoutOrganizationInput No
connect SettingsWhereUniqueInput No



NullableStringFieldUpdateOperationsInput

Name Type Nullable
set String | Null Yes

OrganizationUserUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create OrganizationUserCreateWithoutOrganizationInput | OrganizationUserCreateWithoutOrganizationInput[] | OrganizationUserUncheckedCreateWithoutOrganizationInput | OrganizationUserUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate OrganizationUserCreateOrConnectWithoutOrganizationInput | OrganizationUserCreateOrConnectWithoutOrganizationInput[] No
upsert OrganizationUserUpsertWithWhereUniqueWithoutOrganizationInput | OrganizationUserUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany OrganizationUserCreateManyOrganizationInputEnvelope No
set OrganizationUserWhereUniqueInput | OrganizationUserWhereUniqueInput[] No
disconnect OrganizationUserWhereUniqueInput | OrganizationUserWhereUniqueInput[] No
delete OrganizationUserWhereUniqueInput | OrganizationUserWhereUniqueInput[] No
connect OrganizationUserWhereUniqueInput | OrganizationUserWhereUniqueInput[] No
update OrganizationUserUpdateWithWhereUniqueWithoutOrganizationInput | OrganizationUserUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany OrganizationUserUpdateManyWithWhereWithoutOrganizationInput | OrganizationUserUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany OrganizationUserScalarWhereInput | OrganizationUserScalarWhereInput[] No

OrganizationCustomerUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create OrganizationCustomerCreateWithoutOrganizationInput | OrganizationCustomerCreateWithoutOrganizationInput[] | OrganizationCustomerUncheckedCreateWithoutOrganizationInput | OrganizationCustomerUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate OrganizationCustomerCreateOrConnectWithoutOrganizationInput | OrganizationCustomerCreateOrConnectWithoutOrganizationInput[] No
upsert OrganizationCustomerUpsertWithWhereUniqueWithoutOrganizationInput | OrganizationCustomerUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany OrganizationCustomerCreateManyOrganizationInputEnvelope No
set OrganizationCustomerWhereUniqueInput | OrganizationCustomerWhereUniqueInput[] No
disconnect OrganizationCustomerWhereUniqueInput | OrganizationCustomerWhereUniqueInput[] No
delete OrganizationCustomerWhereUniqueInput | OrganizationCustomerWhereUniqueInput[] No
connect OrganizationCustomerWhereUniqueInput | OrganizationCustomerWhereUniqueInput[] No
update OrganizationCustomerUpdateWithWhereUniqueWithoutOrganizationInput | OrganizationCustomerUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany OrganizationCustomerUpdateManyWithWhereWithoutOrganizationInput | OrganizationCustomerUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany OrganizationCustomerScalarWhereInput | OrganizationCustomerScalarWhereInput[] No

ProductUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create ProductCreateWithoutOrganizationInput | ProductCreateWithoutOrganizationInput[] | ProductUncheckedCreateWithoutOrganizationInput | ProductUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate ProductCreateOrConnectWithoutOrganizationInput | ProductCreateOrConnectWithoutOrganizationInput[] No
upsert ProductUpsertWithWhereUniqueWithoutOrganizationInput | ProductUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany ProductCreateManyOrganizationInputEnvelope No
set ProductWhereUniqueInput | ProductWhereUniqueInput[] No
disconnect ProductWhereUniqueInput | ProductWhereUniqueInput[] No
delete ProductWhereUniqueInput | ProductWhereUniqueInput[] No
connect ProductWhereUniqueInput | ProductWhereUniqueInput[] No
update ProductUpdateWithWhereUniqueWithoutOrganizationInput | ProductUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany ProductUpdateManyWithWhereWithoutOrganizationInput | ProductUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany ProductScalarWhereInput | ProductScalarWhereInput[] No

ProductPriceUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create ProductPriceCreateWithoutOrganizationInput | ProductPriceCreateWithoutOrganizationInput[] | ProductPriceUncheckedCreateWithoutOrganizationInput | ProductPriceUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate ProductPriceCreateOrConnectWithoutOrganizationInput | ProductPriceCreateOrConnectWithoutOrganizationInput[] No
upsert ProductPriceUpsertWithWhereUniqueWithoutOrganizationInput | ProductPriceUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany ProductPriceCreateManyOrganizationInputEnvelope No
set ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
disconnect ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
delete ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
connect ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
update ProductPriceUpdateWithWhereUniqueWithoutOrganizationInput | ProductPriceUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany ProductPriceUpdateManyWithWhereWithoutOrganizationInput | ProductPriceUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany ProductPriceScalarWhereInput | ProductPriceScalarWhereInput[] No

ProductInstanceUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create ProductInstanceCreateWithoutOrganizationInput | ProductInstanceCreateWithoutOrganizationInput[] | ProductInstanceUncheckedCreateWithoutOrganizationInput | ProductInstanceUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate ProductInstanceCreateOrConnectWithoutOrganizationInput | ProductInstanceCreateOrConnectWithoutOrganizationInput[] No
upsert ProductInstanceUpsertWithWhereUniqueWithoutOrganizationInput | ProductInstanceUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany ProductInstanceCreateManyOrganizationInputEnvelope No
set ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
disconnect ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
delete ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
connect ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
update ProductInstanceUpdateWithWhereUniqueWithoutOrganizationInput | ProductInstanceUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany ProductInstanceUpdateManyWithWhereWithoutOrganizationInput | ProductInstanceUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany ProductInstanceScalarWhereInput | ProductInstanceScalarWhereInput[] No

KassaUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create KassaCreateWithoutOrganizationInput | KassaCreateWithoutOrganizationInput[] | KassaUncheckedCreateWithoutOrganizationInput | KassaUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate KassaCreateOrConnectWithoutOrganizationInput | KassaCreateOrConnectWithoutOrganizationInput[] No
upsert KassaUpsertWithWhereUniqueWithoutOrganizationInput | KassaUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany KassaCreateManyOrganizationInputEnvelope No
set KassaWhereUniqueInput | KassaWhereUniqueInput[] No
disconnect KassaWhereUniqueInput | KassaWhereUniqueInput[] No
delete KassaWhereUniqueInput | KassaWhereUniqueInput[] No
connect KassaWhereUniqueInput | KassaWhereUniqueInput[] No
update KassaUpdateWithWhereUniqueWithoutOrganizationInput | KassaUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany KassaUpdateManyWithWhereWithoutOrganizationInput | KassaUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany KassaScalarWhereInput | KassaScalarWhereInput[] No

PaymentUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create PaymentCreateWithoutOrganizationInput | PaymentCreateWithoutOrganizationInput[] | PaymentUncheckedCreateWithoutOrganizationInput | PaymentUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate PaymentCreateOrConnectWithoutOrganizationInput | PaymentCreateOrConnectWithoutOrganizationInput[] No
upsert PaymentUpsertWithWhereUniqueWithoutOrganizationInput | PaymentUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany PaymentCreateManyOrganizationInputEnvelope No
set PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
disconnect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
delete PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
connect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
update PaymentUpdateWithWhereUniqueWithoutOrganizationInput | PaymentUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany PaymentUpdateManyWithWhereWithoutOrganizationInput | PaymentUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany PaymentScalarWhereInput | PaymentScalarWhereInput[] No

TransactionUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create TransactionCreateWithoutOrganizationInput | TransactionCreateWithoutOrganizationInput[] | TransactionUncheckedCreateWithoutOrganizationInput | TransactionUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate TransactionCreateOrConnectWithoutOrganizationInput | TransactionCreateOrConnectWithoutOrganizationInput[] No
upsert TransactionUpsertWithWhereUniqueWithoutOrganizationInput | TransactionUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany TransactionCreateManyOrganizationInputEnvelope No
set TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
disconnect TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
delete TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
connect TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
update TransactionUpdateWithWhereUniqueWithoutOrganizationInput | TransactionUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany TransactionUpdateManyWithWhereWithoutOrganizationInput | TransactionUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany TransactionScalarWhereInput | TransactionScalarWhereInput[] No

SaleUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create SaleCreateWithoutOrganizationInput | SaleCreateWithoutOrganizationInput[] | SaleUncheckedCreateWithoutOrganizationInput | SaleUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate SaleCreateOrConnectWithoutOrganizationInput | SaleCreateOrConnectWithoutOrganizationInput[] No
upsert SaleUpsertWithWhereUniqueWithoutOrganizationInput | SaleUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany SaleCreateManyOrganizationInputEnvelope No
set SaleWhereUniqueInput | SaleWhereUniqueInput[] No
disconnect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
delete SaleWhereUniqueInput | SaleWhereUniqueInput[] No
connect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
update SaleUpdateWithWhereUniqueWithoutOrganizationInput | SaleUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany SaleUpdateManyWithWhereWithoutOrganizationInput | SaleUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany SaleScalarWhereInput | SaleScalarWhereInput[] No

PurchaseUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create PurchaseCreateWithoutOrganizationInput | PurchaseCreateWithoutOrganizationInput[] | PurchaseUncheckedCreateWithoutOrganizationInput | PurchaseUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate PurchaseCreateOrConnectWithoutOrganizationInput | PurchaseCreateOrConnectWithoutOrganizationInput[] No
upsert PurchaseUpsertWithWhereUniqueWithoutOrganizationInput | PurchaseUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany PurchaseCreateManyOrganizationInputEnvelope No
set PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
disconnect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
delete PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
connect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
update PurchaseUpdateWithWhereUniqueWithoutOrganizationInput | PurchaseUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany PurchaseUpdateManyWithWhereWithoutOrganizationInput | PurchaseUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany PurchaseScalarWhereInput | PurchaseScalarWhereInput[] No

StockUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create StockCreateWithoutOrganizationInput | StockCreateWithoutOrganizationInput[] | StockUncheckedCreateWithoutOrganizationInput | StockUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate StockCreateOrConnectWithoutOrganizationInput | StockCreateOrConnectWithoutOrganizationInput[] No
upsert StockUpsertWithWhereUniqueWithoutOrganizationInput | StockUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany StockCreateManyOrganizationInputEnvelope No
set StockWhereUniqueInput | StockWhereUniqueInput[] No
disconnect StockWhereUniqueInput | StockWhereUniqueInput[] No
delete StockWhereUniqueInput | StockWhereUniqueInput[] No
connect StockWhereUniqueInput | StockWhereUniqueInput[] No
update StockUpdateWithWhereUniqueWithoutOrganizationInput | StockUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany StockUpdateManyWithWhereWithoutOrganizationInput | StockUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany StockScalarWhereInput | StockScalarWhereInput[] No

KassaTransferUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create KassaTransferCreateWithoutOrganizationInput | KassaTransferCreateWithoutOrganizationInput[] | KassaTransferUncheckedCreateWithoutOrganizationInput | KassaTransferUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate KassaTransferCreateOrConnectWithoutOrganizationInput | KassaTransferCreateOrConnectWithoutOrganizationInput[] No
upsert KassaTransferUpsertWithWhereUniqueWithoutOrganizationInput | KassaTransferUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany KassaTransferCreateManyOrganizationInputEnvelope No
set KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
disconnect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
delete KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
connect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
update KassaTransferUpdateWithWhereUniqueWithoutOrganizationInput | KassaTransferUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany KassaTransferUpdateManyWithWhereWithoutOrganizationInput | KassaTransferUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany KassaTransferScalarWhereInput | KassaTransferScalarWhereInput[] No


AuditLogUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create AuditLogCreateWithoutOrganizationInput | AuditLogCreateWithoutOrganizationInput[] | AuditLogUncheckedCreateWithoutOrganizationInput | AuditLogUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate AuditLogCreateOrConnectWithoutOrganizationInput | AuditLogCreateOrConnectWithoutOrganizationInput[] No
upsert AuditLogUpsertWithWhereUniqueWithoutOrganizationInput | AuditLogUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany AuditLogCreateManyOrganizationInputEnvelope No
set AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] No
disconnect AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] No
delete AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] No
connect AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] No
update AuditLogUpdateWithWhereUniqueWithoutOrganizationInput | AuditLogUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany AuditLogUpdateManyWithWhereWithoutOrganizationInput | AuditLogUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany AuditLogScalarWhereInput | AuditLogScalarWhereInput[] No

DocumentUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create DocumentCreateWithoutOrganizationInput | DocumentCreateWithoutOrganizationInput[] | DocumentUncheckedCreateWithoutOrganizationInput | DocumentUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate DocumentCreateOrConnectWithoutOrganizationInput | DocumentCreateOrConnectWithoutOrganizationInput[] No
upsert DocumentUpsertWithWhereUniqueWithoutOrganizationInput | DocumentUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany DocumentCreateManyOrganizationInputEnvelope No
set DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
disconnect DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
delete DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
connect DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
update DocumentUpdateWithWhereUniqueWithoutOrganizationInput | DocumentUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany DocumentUpdateManyWithWhereWithoutOrganizationInput | DocumentUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany DocumentScalarWhereInput | DocumentScalarWhereInput[] No

OrganizationUserUncheckedUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create OrganizationUserCreateWithoutOrganizationInput | OrganizationUserCreateWithoutOrganizationInput[] | OrganizationUserUncheckedCreateWithoutOrganizationInput | OrganizationUserUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate OrganizationUserCreateOrConnectWithoutOrganizationInput | OrganizationUserCreateOrConnectWithoutOrganizationInput[] No
upsert OrganizationUserUpsertWithWhereUniqueWithoutOrganizationInput | OrganizationUserUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany OrganizationUserCreateManyOrganizationInputEnvelope No
set OrganizationUserWhereUniqueInput | OrganizationUserWhereUniqueInput[] No
disconnect OrganizationUserWhereUniqueInput | OrganizationUserWhereUniqueInput[] No
delete OrganizationUserWhereUniqueInput | OrganizationUserWhereUniqueInput[] No
connect OrganizationUserWhereUniqueInput | OrganizationUserWhereUniqueInput[] No
update OrganizationUserUpdateWithWhereUniqueWithoutOrganizationInput | OrganizationUserUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany OrganizationUserUpdateManyWithWhereWithoutOrganizationInput | OrganizationUserUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany OrganizationUserScalarWhereInput | OrganizationUserScalarWhereInput[] No

OrganizationCustomerUncheckedUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create OrganizationCustomerCreateWithoutOrganizationInput | OrganizationCustomerCreateWithoutOrganizationInput[] | OrganizationCustomerUncheckedCreateWithoutOrganizationInput | OrganizationCustomerUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate OrganizationCustomerCreateOrConnectWithoutOrganizationInput | OrganizationCustomerCreateOrConnectWithoutOrganizationInput[] No
upsert OrganizationCustomerUpsertWithWhereUniqueWithoutOrganizationInput | OrganizationCustomerUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany OrganizationCustomerCreateManyOrganizationInputEnvelope No
set OrganizationCustomerWhereUniqueInput | OrganizationCustomerWhereUniqueInput[] No
disconnect OrganizationCustomerWhereUniqueInput | OrganizationCustomerWhereUniqueInput[] No
delete OrganizationCustomerWhereUniqueInput | OrganizationCustomerWhereUniqueInput[] No
connect OrganizationCustomerWhereUniqueInput | OrganizationCustomerWhereUniqueInput[] No
update OrganizationCustomerUpdateWithWhereUniqueWithoutOrganizationInput | OrganizationCustomerUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany OrganizationCustomerUpdateManyWithWhereWithoutOrganizationInput | OrganizationCustomerUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany OrganizationCustomerScalarWhereInput | OrganizationCustomerScalarWhereInput[] No

ProductUncheckedUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create ProductCreateWithoutOrganizationInput | ProductCreateWithoutOrganizationInput[] | ProductUncheckedCreateWithoutOrganizationInput | ProductUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate ProductCreateOrConnectWithoutOrganizationInput | ProductCreateOrConnectWithoutOrganizationInput[] No
upsert ProductUpsertWithWhereUniqueWithoutOrganizationInput | ProductUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany ProductCreateManyOrganizationInputEnvelope No
set ProductWhereUniqueInput | ProductWhereUniqueInput[] No
disconnect ProductWhereUniqueInput | ProductWhereUniqueInput[] No
delete ProductWhereUniqueInput | ProductWhereUniqueInput[] No
connect ProductWhereUniqueInput | ProductWhereUniqueInput[] No
update ProductUpdateWithWhereUniqueWithoutOrganizationInput | ProductUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany ProductUpdateManyWithWhereWithoutOrganizationInput | ProductUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany ProductScalarWhereInput | ProductScalarWhereInput[] No

ProductPriceUncheckedUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create ProductPriceCreateWithoutOrganizationInput | ProductPriceCreateWithoutOrganizationInput[] | ProductPriceUncheckedCreateWithoutOrganizationInput | ProductPriceUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate ProductPriceCreateOrConnectWithoutOrganizationInput | ProductPriceCreateOrConnectWithoutOrganizationInput[] No
upsert ProductPriceUpsertWithWhereUniqueWithoutOrganizationInput | ProductPriceUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany ProductPriceCreateManyOrganizationInputEnvelope No
set ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
disconnect ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
delete ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
connect ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
update ProductPriceUpdateWithWhereUniqueWithoutOrganizationInput | ProductPriceUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany ProductPriceUpdateManyWithWhereWithoutOrganizationInput | ProductPriceUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany ProductPriceScalarWhereInput | ProductPriceScalarWhereInput[] No

ProductInstanceUncheckedUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create ProductInstanceCreateWithoutOrganizationInput | ProductInstanceCreateWithoutOrganizationInput[] | ProductInstanceUncheckedCreateWithoutOrganizationInput | ProductInstanceUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate ProductInstanceCreateOrConnectWithoutOrganizationInput | ProductInstanceCreateOrConnectWithoutOrganizationInput[] No
upsert ProductInstanceUpsertWithWhereUniqueWithoutOrganizationInput | ProductInstanceUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany ProductInstanceCreateManyOrganizationInputEnvelope No
set ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
disconnect ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
delete ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
connect ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
update ProductInstanceUpdateWithWhereUniqueWithoutOrganizationInput | ProductInstanceUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany ProductInstanceUpdateManyWithWhereWithoutOrganizationInput | ProductInstanceUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany ProductInstanceScalarWhereInput | ProductInstanceScalarWhereInput[] No

KassaUncheckedUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create KassaCreateWithoutOrganizationInput | KassaCreateWithoutOrganizationInput[] | KassaUncheckedCreateWithoutOrganizationInput | KassaUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate KassaCreateOrConnectWithoutOrganizationInput | KassaCreateOrConnectWithoutOrganizationInput[] No
upsert KassaUpsertWithWhereUniqueWithoutOrganizationInput | KassaUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany KassaCreateManyOrganizationInputEnvelope No
set KassaWhereUniqueInput | KassaWhereUniqueInput[] No
disconnect KassaWhereUniqueInput | KassaWhereUniqueInput[] No
delete KassaWhereUniqueInput | KassaWhereUniqueInput[] No
connect KassaWhereUniqueInput | KassaWhereUniqueInput[] No
update KassaUpdateWithWhereUniqueWithoutOrganizationInput | KassaUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany KassaUpdateManyWithWhereWithoutOrganizationInput | KassaUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany KassaScalarWhereInput | KassaScalarWhereInput[] No

PaymentUncheckedUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create PaymentCreateWithoutOrganizationInput | PaymentCreateWithoutOrganizationInput[] | PaymentUncheckedCreateWithoutOrganizationInput | PaymentUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate PaymentCreateOrConnectWithoutOrganizationInput | PaymentCreateOrConnectWithoutOrganizationInput[] No
upsert PaymentUpsertWithWhereUniqueWithoutOrganizationInput | PaymentUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany PaymentCreateManyOrganizationInputEnvelope No
set PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
disconnect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
delete PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
connect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
update PaymentUpdateWithWhereUniqueWithoutOrganizationInput | PaymentUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany PaymentUpdateManyWithWhereWithoutOrganizationInput | PaymentUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany PaymentScalarWhereInput | PaymentScalarWhereInput[] No

TransactionUncheckedUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create TransactionCreateWithoutOrganizationInput | TransactionCreateWithoutOrganizationInput[] | TransactionUncheckedCreateWithoutOrganizationInput | TransactionUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate TransactionCreateOrConnectWithoutOrganizationInput | TransactionCreateOrConnectWithoutOrganizationInput[] No
upsert TransactionUpsertWithWhereUniqueWithoutOrganizationInput | TransactionUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany TransactionCreateManyOrganizationInputEnvelope No
set TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
disconnect TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
delete TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
connect TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
update TransactionUpdateWithWhereUniqueWithoutOrganizationInput | TransactionUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany TransactionUpdateManyWithWhereWithoutOrganizationInput | TransactionUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany TransactionScalarWhereInput | TransactionScalarWhereInput[] No

SaleUncheckedUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create SaleCreateWithoutOrganizationInput | SaleCreateWithoutOrganizationInput[] | SaleUncheckedCreateWithoutOrganizationInput | SaleUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate SaleCreateOrConnectWithoutOrganizationInput | SaleCreateOrConnectWithoutOrganizationInput[] No
upsert SaleUpsertWithWhereUniqueWithoutOrganizationInput | SaleUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany SaleCreateManyOrganizationInputEnvelope No
set SaleWhereUniqueInput | SaleWhereUniqueInput[] No
disconnect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
delete SaleWhereUniqueInput | SaleWhereUniqueInput[] No
connect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
update SaleUpdateWithWhereUniqueWithoutOrganizationInput | SaleUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany SaleUpdateManyWithWhereWithoutOrganizationInput | SaleUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany SaleScalarWhereInput | SaleScalarWhereInput[] No

PurchaseUncheckedUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create PurchaseCreateWithoutOrganizationInput | PurchaseCreateWithoutOrganizationInput[] | PurchaseUncheckedCreateWithoutOrganizationInput | PurchaseUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate PurchaseCreateOrConnectWithoutOrganizationInput | PurchaseCreateOrConnectWithoutOrganizationInput[] No
upsert PurchaseUpsertWithWhereUniqueWithoutOrganizationInput | PurchaseUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany PurchaseCreateManyOrganizationInputEnvelope No
set PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
disconnect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
delete PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
connect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
update PurchaseUpdateWithWhereUniqueWithoutOrganizationInput | PurchaseUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany PurchaseUpdateManyWithWhereWithoutOrganizationInput | PurchaseUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany PurchaseScalarWhereInput | PurchaseScalarWhereInput[] No

StockUncheckedUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create StockCreateWithoutOrganizationInput | StockCreateWithoutOrganizationInput[] | StockUncheckedCreateWithoutOrganizationInput | StockUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate StockCreateOrConnectWithoutOrganizationInput | StockCreateOrConnectWithoutOrganizationInput[] No
upsert StockUpsertWithWhereUniqueWithoutOrganizationInput | StockUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany StockCreateManyOrganizationInputEnvelope No
set StockWhereUniqueInput | StockWhereUniqueInput[] No
disconnect StockWhereUniqueInput | StockWhereUniqueInput[] No
delete StockWhereUniqueInput | StockWhereUniqueInput[] No
connect StockWhereUniqueInput | StockWhereUniqueInput[] No
update StockUpdateWithWhereUniqueWithoutOrganizationInput | StockUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany StockUpdateManyWithWhereWithoutOrganizationInput | StockUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany StockScalarWhereInput | StockScalarWhereInput[] No

KassaTransferUncheckedUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create KassaTransferCreateWithoutOrganizationInput | KassaTransferCreateWithoutOrganizationInput[] | KassaTransferUncheckedCreateWithoutOrganizationInput | KassaTransferUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate KassaTransferCreateOrConnectWithoutOrganizationInput | KassaTransferCreateOrConnectWithoutOrganizationInput[] No
upsert KassaTransferUpsertWithWhereUniqueWithoutOrganizationInput | KassaTransferUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany KassaTransferCreateManyOrganizationInputEnvelope No
set KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
disconnect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
delete KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
connect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
update KassaTransferUpdateWithWhereUniqueWithoutOrganizationInput | KassaTransferUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany KassaTransferUpdateManyWithWhereWithoutOrganizationInput | KassaTransferUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany KassaTransferScalarWhereInput | KassaTransferScalarWhereInput[] No


AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create AuditLogCreateWithoutOrganizationInput | AuditLogCreateWithoutOrganizationInput[] | AuditLogUncheckedCreateWithoutOrganizationInput | AuditLogUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate AuditLogCreateOrConnectWithoutOrganizationInput | AuditLogCreateOrConnectWithoutOrganizationInput[] No
upsert AuditLogUpsertWithWhereUniqueWithoutOrganizationInput | AuditLogUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany AuditLogCreateManyOrganizationInputEnvelope No
set AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] No
disconnect AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] No
delete AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] No
connect AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] No
update AuditLogUpdateWithWhereUniqueWithoutOrganizationInput | AuditLogUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany AuditLogUpdateManyWithWhereWithoutOrganizationInput | AuditLogUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany AuditLogScalarWhereInput | AuditLogScalarWhereInput[] No

DocumentUncheckedUpdateManyWithoutOrganizationNestedInput

Name Type Nullable
create DocumentCreateWithoutOrganizationInput | DocumentCreateWithoutOrganizationInput[] | DocumentUncheckedCreateWithoutOrganizationInput | DocumentUncheckedCreateWithoutOrganizationInput[] No
connectOrCreate DocumentCreateOrConnectWithoutOrganizationInput | DocumentCreateOrConnectWithoutOrganizationInput[] No
upsert DocumentUpsertWithWhereUniqueWithoutOrganizationInput | DocumentUpsertWithWhereUniqueWithoutOrganizationInput[] No
createMany DocumentCreateManyOrganizationInputEnvelope No
set DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
disconnect DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
delete DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
connect DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
update DocumentUpdateWithWhereUniqueWithoutOrganizationInput | DocumentUpdateWithWhereUniqueWithoutOrganizationInput[] No
updateMany DocumentUpdateManyWithWhereWithoutOrganizationInput | DocumentUpdateManyWithWhereWithoutOrganizationInput[] No
deleteMany DocumentScalarWhereInput | DocumentScalarWhereInput[] No

UserProfileCreateNestedOneWithoutUserInput

Name Type Nullable
create UserProfileCreateWithoutUserInput | UserProfileUncheckedCreateWithoutUserInput No
connectOrCreate UserProfileCreateOrConnectWithoutUserInput No
connect UserProfileWhereUniqueInput No

RoleCreateNestedOneWithoutUsersInput

Name Type Nullable
create RoleCreateWithoutUsersInput | RoleUncheckedCreateWithoutUsersInput No
connectOrCreate RoleCreateOrConnectWithoutUsersInput No
connect RoleWhereUniqueInput No










UserProfileUncheckedCreateNestedOneWithoutUserInput

Name Type Nullable
create UserProfileCreateWithoutUserInput | UserProfileUncheckedCreateWithoutUserInput No
connectOrCreate UserProfileCreateOrConnectWithoutUserInput No
connect UserProfileWhereUniqueInput No










BoolFieldUpdateOperationsInput

Name Type Nullable
set Boolean No



OrganizationUserUpdateManyWithoutUserNestedInput

Name Type Nullable
create OrganizationUserCreateWithoutUserInput | OrganizationUserCreateWithoutUserInput[] | OrganizationUserUncheckedCreateWithoutUserInput | OrganizationUserUncheckedCreateWithoutUserInput[] No
connectOrCreate OrganizationUserCreateOrConnectWithoutUserInput | OrganizationUserCreateOrConnectWithoutUserInput[] No
upsert OrganizationUserUpsertWithWhereUniqueWithoutUserInput | OrganizationUserUpsertWithWhereUniqueWithoutUserInput[] No
createMany OrganizationUserCreateManyUserInputEnvelope No
set OrganizationUserWhereUniqueInput | OrganizationUserWhereUniqueInput[] No
disconnect OrganizationUserWhereUniqueInput | OrganizationUserWhereUniqueInput[] No
delete OrganizationUserWhereUniqueInput | OrganizationUserWhereUniqueInput[] No
connect OrganizationUserWhereUniqueInput | OrganizationUserWhereUniqueInput[] No
update OrganizationUserUpdateWithWhereUniqueWithoutUserInput | OrganizationUserUpdateWithWhereUniqueWithoutUserInput[] No
updateMany OrganizationUserUpdateManyWithWhereWithoutUserInput | OrganizationUserUpdateManyWithWhereWithoutUserInput[] No
deleteMany OrganizationUserScalarWhereInput | OrganizationUserScalarWhereInput[] No

OrganizationCustomerUpdateManyWithoutUserNestedInput

Name Type Nullable
create OrganizationCustomerCreateWithoutUserInput | OrganizationCustomerCreateWithoutUserInput[] | OrganizationCustomerUncheckedCreateWithoutUserInput | OrganizationCustomerUncheckedCreateWithoutUserInput[] No
connectOrCreate OrganizationCustomerCreateOrConnectWithoutUserInput | OrganizationCustomerCreateOrConnectWithoutUserInput[] No
upsert OrganizationCustomerUpsertWithWhereUniqueWithoutUserInput | OrganizationCustomerUpsertWithWhereUniqueWithoutUserInput[] No
createMany OrganizationCustomerCreateManyUserInputEnvelope No
set OrganizationCustomerWhereUniqueInput | OrganizationCustomerWhereUniqueInput[] No
disconnect OrganizationCustomerWhereUniqueInput | OrganizationCustomerWhereUniqueInput[] No
delete OrganizationCustomerWhereUniqueInput | OrganizationCustomerWhereUniqueInput[] No
connect OrganizationCustomerWhereUniqueInput | OrganizationCustomerWhereUniqueInput[] No
update OrganizationCustomerUpdateWithWhereUniqueWithoutUserInput | OrganizationCustomerUpdateWithWhereUniqueWithoutUserInput[] No
updateMany OrganizationCustomerUpdateManyWithWhereWithoutUserInput | OrganizationCustomerUpdateManyWithWhereWithoutUserInput[] No
deleteMany OrganizationCustomerScalarWhereInput | OrganizationCustomerScalarWhereInput[] No

PaymentUpdateManyWithoutUserNestedInput

Name Type Nullable
create PaymentCreateWithoutUserInput | PaymentCreateWithoutUserInput[] | PaymentUncheckedCreateWithoutUserInput | PaymentUncheckedCreateWithoutUserInput[] No
connectOrCreate PaymentCreateOrConnectWithoutUserInput | PaymentCreateOrConnectWithoutUserInput[] No
upsert PaymentUpsertWithWhereUniqueWithoutUserInput | PaymentUpsertWithWhereUniqueWithoutUserInput[] No
createMany PaymentCreateManyUserInputEnvelope No
set PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
disconnect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
delete PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
connect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
update PaymentUpdateWithWhereUniqueWithoutUserInput | PaymentUpdateWithWhereUniqueWithoutUserInput[] No
updateMany PaymentUpdateManyWithWhereWithoutUserInput | PaymentUpdateManyWithWhereWithoutUserInput[] No
deleteMany PaymentScalarWhereInput | PaymentScalarWhereInput[] No

SaleUpdateManyWithoutResponsibleNestedInput

Name Type Nullable
create SaleCreateWithoutResponsibleInput | SaleCreateWithoutResponsibleInput[] | SaleUncheckedCreateWithoutResponsibleInput | SaleUncheckedCreateWithoutResponsibleInput[] No
connectOrCreate SaleCreateOrConnectWithoutResponsibleInput | SaleCreateOrConnectWithoutResponsibleInput[] No
upsert SaleUpsertWithWhereUniqueWithoutResponsibleInput | SaleUpsertWithWhereUniqueWithoutResponsibleInput[] No
createMany SaleCreateManyResponsibleInputEnvelope No
set SaleWhereUniqueInput | SaleWhereUniqueInput[] No
disconnect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
delete SaleWhereUniqueInput | SaleWhereUniqueInput[] No
connect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
update SaleUpdateWithWhereUniqueWithoutResponsibleInput | SaleUpdateWithWhereUniqueWithoutResponsibleInput[] No
updateMany SaleUpdateManyWithWhereWithoutResponsibleInput | SaleUpdateManyWithWhereWithoutResponsibleInput[] No
deleteMany SaleScalarWhereInput | SaleScalarWhereInput[] No

PurchaseUpdateManyWithoutResponsibleNestedInput

Name Type Nullable
create PurchaseCreateWithoutResponsibleInput | PurchaseCreateWithoutResponsibleInput[] | PurchaseUncheckedCreateWithoutResponsibleInput | PurchaseUncheckedCreateWithoutResponsibleInput[] No
connectOrCreate PurchaseCreateOrConnectWithoutResponsibleInput | PurchaseCreateOrConnectWithoutResponsibleInput[] No
upsert PurchaseUpsertWithWhereUniqueWithoutResponsibleInput | PurchaseUpsertWithWhereUniqueWithoutResponsibleInput[] No
createMany PurchaseCreateManyResponsibleInputEnvelope No
set PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
disconnect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
delete PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
connect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
update PurchaseUpdateWithWhereUniqueWithoutResponsibleInput | PurchaseUpdateWithWhereUniqueWithoutResponsibleInput[] No
updateMany PurchaseUpdateManyWithWhereWithoutResponsibleInput | PurchaseUpdateManyWithWhereWithoutResponsibleInput[] No
deleteMany PurchaseScalarWhereInput | PurchaseScalarWhereInput[] No

UserPhoneUpdateManyWithoutUserNestedInput

Name Type Nullable
create UserPhoneCreateWithoutUserInput | UserPhoneCreateWithoutUserInput[] | UserPhoneUncheckedCreateWithoutUserInput | UserPhoneUncheckedCreateWithoutUserInput[] No
connectOrCreate UserPhoneCreateOrConnectWithoutUserInput | UserPhoneCreateOrConnectWithoutUserInput[] No
upsert UserPhoneUpsertWithWhereUniqueWithoutUserInput | UserPhoneUpsertWithWhereUniqueWithoutUserInput[] No
createMany UserPhoneCreateManyUserInputEnvelope No
set UserPhoneWhereUniqueInput | UserPhoneWhereUniqueInput[] No
disconnect UserPhoneWhereUniqueInput | UserPhoneWhereUniqueInput[] No
delete UserPhoneWhereUniqueInput | UserPhoneWhereUniqueInput[] No
connect UserPhoneWhereUniqueInput | UserPhoneWhereUniqueInput[] No
update UserPhoneUpdateWithWhereUniqueWithoutUserInput | UserPhoneUpdateWithWhereUniqueWithoutUserInput[] No
updateMany UserPhoneUpdateManyWithWhereWithoutUserInput | UserPhoneUpdateManyWithWhereWithoutUserInput[] No
deleteMany UserPhoneScalarWhereInput | UserPhoneScalarWhereInput[] No

AuditLogUpdateManyWithoutUserNestedInput

Name Type Nullable
create AuditLogCreateWithoutUserInput | AuditLogCreateWithoutUserInput[] | AuditLogUncheckedCreateWithoutUserInput | AuditLogUncheckedCreateWithoutUserInput[] No
connectOrCreate AuditLogCreateOrConnectWithoutUserInput | AuditLogCreateOrConnectWithoutUserInput[] No
upsert AuditLogUpsertWithWhereUniqueWithoutUserInput | AuditLogUpsertWithWhereUniqueWithoutUserInput[] No
createMany AuditLogCreateManyUserInputEnvelope No
set AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] No
disconnect AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] No
delete AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] No
connect AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] No
update AuditLogUpdateWithWhereUniqueWithoutUserInput | AuditLogUpdateWithWhereUniqueWithoutUserInput[] No
updateMany AuditLogUpdateManyWithWhereWithoutUserInput | AuditLogUpdateManyWithWhereWithoutUserInput[] No
deleteMany AuditLogScalarWhereInput | AuditLogScalarWhereInput[] No

DocumentUpdateManyWithoutUploadedByNestedInput

Name Type Nullable
create DocumentCreateWithoutUploadedByInput | DocumentCreateWithoutUploadedByInput[] | DocumentUncheckedCreateWithoutUploadedByInput | DocumentUncheckedCreateWithoutUploadedByInput[] No
connectOrCreate DocumentCreateOrConnectWithoutUploadedByInput | DocumentCreateOrConnectWithoutUploadedByInput[] No
upsert DocumentUpsertWithWhereUniqueWithoutUploadedByInput | DocumentUpsertWithWhereUniqueWithoutUploadedByInput[] No
createMany DocumentCreateManyUploadedByInputEnvelope No
set DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
disconnect DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
delete DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
connect DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
update DocumentUpdateWithWhereUniqueWithoutUploadedByInput | DocumentUpdateWithWhereUniqueWithoutUploadedByInput[] No
updateMany DocumentUpdateManyWithWhereWithoutUploadedByInput | DocumentUpdateManyWithWhereWithoutUploadedByInput[] No
deleteMany DocumentScalarWhereInput | DocumentScalarWhereInput[] No

InstallmentPaymentUpdateManyWithoutCreated_byNestedInput

Name Type Nullable
create InstallmentPaymentCreateWithoutCreated_byInput | InstallmentPaymentCreateWithoutCreated_byInput[] | InstallmentPaymentUncheckedCreateWithoutCreated_byInput | InstallmentPaymentUncheckedCreateWithoutCreated_byInput[] No
connectOrCreate InstallmentPaymentCreateOrConnectWithoutCreated_byInput | InstallmentPaymentCreateOrConnectWithoutCreated_byInput[] No
upsert InstallmentPaymentUpsertWithWhereUniqueWithoutCreated_byInput | InstallmentPaymentUpsertWithWhereUniqueWithoutCreated_byInput[] No
createMany InstallmentPaymentCreateManyCreated_byInputEnvelope No
set InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
disconnect InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
delete InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
connect InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
update InstallmentPaymentUpdateWithWhereUniqueWithoutCreated_byInput | InstallmentPaymentUpdateWithWhereUniqueWithoutCreated_byInput[] No
updateMany InstallmentPaymentUpdateManyWithWhereWithoutCreated_byInput | InstallmentPaymentUpdateManyWithWhereWithoutCreated_byInput[] No
deleteMany InstallmentPaymentScalarWhereInput | InstallmentPaymentScalarWhereInput[] No


OrganizationUserUncheckedUpdateManyWithoutUserNestedInput

Name Type Nullable
create OrganizationUserCreateWithoutUserInput | OrganizationUserCreateWithoutUserInput[] | OrganizationUserUncheckedCreateWithoutUserInput | OrganizationUserUncheckedCreateWithoutUserInput[] No
connectOrCreate OrganizationUserCreateOrConnectWithoutUserInput | OrganizationUserCreateOrConnectWithoutUserInput[] No
upsert OrganizationUserUpsertWithWhereUniqueWithoutUserInput | OrganizationUserUpsertWithWhereUniqueWithoutUserInput[] No
createMany OrganizationUserCreateManyUserInputEnvelope No
set OrganizationUserWhereUniqueInput | OrganizationUserWhereUniqueInput[] No
disconnect OrganizationUserWhereUniqueInput | OrganizationUserWhereUniqueInput[] No
delete OrganizationUserWhereUniqueInput | OrganizationUserWhereUniqueInput[] No
connect OrganizationUserWhereUniqueInput | OrganizationUserWhereUniqueInput[] No
update OrganizationUserUpdateWithWhereUniqueWithoutUserInput | OrganizationUserUpdateWithWhereUniqueWithoutUserInput[] No
updateMany OrganizationUserUpdateManyWithWhereWithoutUserInput | OrganizationUserUpdateManyWithWhereWithoutUserInput[] No
deleteMany OrganizationUserScalarWhereInput | OrganizationUserScalarWhereInput[] No

OrganizationCustomerUncheckedUpdateManyWithoutUserNestedInput

Name Type Nullable
create OrganizationCustomerCreateWithoutUserInput | OrganizationCustomerCreateWithoutUserInput[] | OrganizationCustomerUncheckedCreateWithoutUserInput | OrganizationCustomerUncheckedCreateWithoutUserInput[] No
connectOrCreate OrganizationCustomerCreateOrConnectWithoutUserInput | OrganizationCustomerCreateOrConnectWithoutUserInput[] No
upsert OrganizationCustomerUpsertWithWhereUniqueWithoutUserInput | OrganizationCustomerUpsertWithWhereUniqueWithoutUserInput[] No
createMany OrganizationCustomerCreateManyUserInputEnvelope No
set OrganizationCustomerWhereUniqueInput | OrganizationCustomerWhereUniqueInput[] No
disconnect OrganizationCustomerWhereUniqueInput | OrganizationCustomerWhereUniqueInput[] No
delete OrganizationCustomerWhereUniqueInput | OrganizationCustomerWhereUniqueInput[] No
connect OrganizationCustomerWhereUniqueInput | OrganizationCustomerWhereUniqueInput[] No
update OrganizationCustomerUpdateWithWhereUniqueWithoutUserInput | OrganizationCustomerUpdateWithWhereUniqueWithoutUserInput[] No
updateMany OrganizationCustomerUpdateManyWithWhereWithoutUserInput | OrganizationCustomerUpdateManyWithWhereWithoutUserInput[] No
deleteMany OrganizationCustomerScalarWhereInput | OrganizationCustomerScalarWhereInput[] No

PaymentUncheckedUpdateManyWithoutUserNestedInput

Name Type Nullable
create PaymentCreateWithoutUserInput | PaymentCreateWithoutUserInput[] | PaymentUncheckedCreateWithoutUserInput | PaymentUncheckedCreateWithoutUserInput[] No
connectOrCreate PaymentCreateOrConnectWithoutUserInput | PaymentCreateOrConnectWithoutUserInput[] No
upsert PaymentUpsertWithWhereUniqueWithoutUserInput | PaymentUpsertWithWhereUniqueWithoutUserInput[] No
createMany PaymentCreateManyUserInputEnvelope No
set PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
disconnect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
delete PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
connect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
update PaymentUpdateWithWhereUniqueWithoutUserInput | PaymentUpdateWithWhereUniqueWithoutUserInput[] No
updateMany PaymentUpdateManyWithWhereWithoutUserInput | PaymentUpdateManyWithWhereWithoutUserInput[] No
deleteMany PaymentScalarWhereInput | PaymentScalarWhereInput[] No

SaleUncheckedUpdateManyWithoutResponsibleNestedInput

Name Type Nullable
create SaleCreateWithoutResponsibleInput | SaleCreateWithoutResponsibleInput[] | SaleUncheckedCreateWithoutResponsibleInput | SaleUncheckedCreateWithoutResponsibleInput[] No
connectOrCreate SaleCreateOrConnectWithoutResponsibleInput | SaleCreateOrConnectWithoutResponsibleInput[] No
upsert SaleUpsertWithWhereUniqueWithoutResponsibleInput | SaleUpsertWithWhereUniqueWithoutResponsibleInput[] No
createMany SaleCreateManyResponsibleInputEnvelope No
set SaleWhereUniqueInput | SaleWhereUniqueInput[] No
disconnect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
delete SaleWhereUniqueInput | SaleWhereUniqueInput[] No
connect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
update SaleUpdateWithWhereUniqueWithoutResponsibleInput | SaleUpdateWithWhereUniqueWithoutResponsibleInput[] No
updateMany SaleUpdateManyWithWhereWithoutResponsibleInput | SaleUpdateManyWithWhereWithoutResponsibleInput[] No
deleteMany SaleScalarWhereInput | SaleScalarWhereInput[] No

PurchaseUncheckedUpdateManyWithoutResponsibleNestedInput

Name Type Nullable
create PurchaseCreateWithoutResponsibleInput | PurchaseCreateWithoutResponsibleInput[] | PurchaseUncheckedCreateWithoutResponsibleInput | PurchaseUncheckedCreateWithoutResponsibleInput[] No
connectOrCreate PurchaseCreateOrConnectWithoutResponsibleInput | PurchaseCreateOrConnectWithoutResponsibleInput[] No
upsert PurchaseUpsertWithWhereUniqueWithoutResponsibleInput | PurchaseUpsertWithWhereUniqueWithoutResponsibleInput[] No
createMany PurchaseCreateManyResponsibleInputEnvelope No
set PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
disconnect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
delete PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
connect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
update PurchaseUpdateWithWhereUniqueWithoutResponsibleInput | PurchaseUpdateWithWhereUniqueWithoutResponsibleInput[] No
updateMany PurchaseUpdateManyWithWhereWithoutResponsibleInput | PurchaseUpdateManyWithWhereWithoutResponsibleInput[] No
deleteMany PurchaseScalarWhereInput | PurchaseScalarWhereInput[] No

UserPhoneUncheckedUpdateManyWithoutUserNestedInput

Name Type Nullable
create UserPhoneCreateWithoutUserInput | UserPhoneCreateWithoutUserInput[] | UserPhoneUncheckedCreateWithoutUserInput | UserPhoneUncheckedCreateWithoutUserInput[] No
connectOrCreate UserPhoneCreateOrConnectWithoutUserInput | UserPhoneCreateOrConnectWithoutUserInput[] No
upsert UserPhoneUpsertWithWhereUniqueWithoutUserInput | UserPhoneUpsertWithWhereUniqueWithoutUserInput[] No
createMany UserPhoneCreateManyUserInputEnvelope No
set UserPhoneWhereUniqueInput | UserPhoneWhereUniqueInput[] No
disconnect UserPhoneWhereUniqueInput | UserPhoneWhereUniqueInput[] No
delete UserPhoneWhereUniqueInput | UserPhoneWhereUniqueInput[] No
connect UserPhoneWhereUniqueInput | UserPhoneWhereUniqueInput[] No
update UserPhoneUpdateWithWhereUniqueWithoutUserInput | UserPhoneUpdateWithWhereUniqueWithoutUserInput[] No
updateMany UserPhoneUpdateManyWithWhereWithoutUserInput | UserPhoneUpdateManyWithWhereWithoutUserInput[] No
deleteMany UserPhoneScalarWhereInput | UserPhoneScalarWhereInput[] No

AuditLogUncheckedUpdateManyWithoutUserNestedInput

Name Type Nullable
create AuditLogCreateWithoutUserInput | AuditLogCreateWithoutUserInput[] | AuditLogUncheckedCreateWithoutUserInput | AuditLogUncheckedCreateWithoutUserInput[] No
connectOrCreate AuditLogCreateOrConnectWithoutUserInput | AuditLogCreateOrConnectWithoutUserInput[] No
upsert AuditLogUpsertWithWhereUniqueWithoutUserInput | AuditLogUpsertWithWhereUniqueWithoutUserInput[] No
createMany AuditLogCreateManyUserInputEnvelope No
set AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] No
disconnect AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] No
delete AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] No
connect AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] No
update AuditLogUpdateWithWhereUniqueWithoutUserInput | AuditLogUpdateWithWhereUniqueWithoutUserInput[] No
updateMany AuditLogUpdateManyWithWhereWithoutUserInput | AuditLogUpdateManyWithWhereWithoutUserInput[] No
deleteMany AuditLogScalarWhereInput | AuditLogScalarWhereInput[] No

DocumentUncheckedUpdateManyWithoutUploadedByNestedInput

Name Type Nullable
create DocumentCreateWithoutUploadedByInput | DocumentCreateWithoutUploadedByInput[] | DocumentUncheckedCreateWithoutUploadedByInput | DocumentUncheckedCreateWithoutUploadedByInput[] No
connectOrCreate DocumentCreateOrConnectWithoutUploadedByInput | DocumentCreateOrConnectWithoutUploadedByInput[] No
upsert DocumentUpsertWithWhereUniqueWithoutUploadedByInput | DocumentUpsertWithWhereUniqueWithoutUploadedByInput[] No
createMany DocumentCreateManyUploadedByInputEnvelope No
set DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
disconnect DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
delete DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
connect DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
update DocumentUpdateWithWhereUniqueWithoutUploadedByInput | DocumentUpdateWithWhereUniqueWithoutUploadedByInput[] No
updateMany DocumentUpdateManyWithWhereWithoutUploadedByInput | DocumentUpdateManyWithWhereWithoutUploadedByInput[] No
deleteMany DocumentScalarWhereInput | DocumentScalarWhereInput[] No

InstallmentPaymentUncheckedUpdateManyWithoutCreated_byNestedInput

Name Type Nullable
create InstallmentPaymentCreateWithoutCreated_byInput | InstallmentPaymentCreateWithoutCreated_byInput[] | InstallmentPaymentUncheckedCreateWithoutCreated_byInput | InstallmentPaymentUncheckedCreateWithoutCreated_byInput[] No
connectOrCreate InstallmentPaymentCreateOrConnectWithoutCreated_byInput | InstallmentPaymentCreateOrConnectWithoutCreated_byInput[] No
upsert InstallmentPaymentUpsertWithWhereUniqueWithoutCreated_byInput | InstallmentPaymentUpsertWithWhereUniqueWithoutCreated_byInput[] No
createMany InstallmentPaymentCreateManyCreated_byInputEnvelope No
set InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
disconnect InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
delete InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
connect InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
update InstallmentPaymentUpdateWithWhereUniqueWithoutCreated_byInput | InstallmentPaymentUpdateWithWhereUniqueWithoutCreated_byInput[] No
updateMany InstallmentPaymentUpdateManyWithWhereWithoutCreated_byInput | InstallmentPaymentUpdateManyWithWhereWithoutCreated_byInput[] No
deleteMany InstallmentPaymentScalarWhereInput | InstallmentPaymentScalarWhereInput[] No

UserCreateNestedOneWithoutProfileInput

Name Type Nullable
create UserCreateWithoutProfileInput | UserUncheckedCreateWithoutProfileInput No
connectOrCreate UserCreateOrConnectWithoutProfileInput No
connect UserWhereUniqueInput No

NullableDateTimeFieldUpdateOperationsInput

Name Type Nullable
set DateTime | Null Yes

EnumGenderFieldUpdateOperationsInput

Name Type Nullable
set Gender No




UserUpdateManyWithoutRoleNestedInput

Name Type Nullable
create UserCreateWithoutRoleInput | UserCreateWithoutRoleInput[] | UserUncheckedCreateWithoutRoleInput | UserUncheckedCreateWithoutRoleInput[] No
connectOrCreate UserCreateOrConnectWithoutRoleInput | UserCreateOrConnectWithoutRoleInput[] No
upsert UserUpsertWithWhereUniqueWithoutRoleInput | UserUpsertWithWhereUniqueWithoutRoleInput[] No
createMany UserCreateManyRoleInputEnvelope No
set UserWhereUniqueInput | UserWhereUniqueInput[] No
disconnect UserWhereUniqueInput | UserWhereUniqueInput[] No
delete UserWhereUniqueInput | UserWhereUniqueInput[] No
connect UserWhereUniqueInput | UserWhereUniqueInput[] No
update UserUpdateWithWhereUniqueWithoutRoleInput | UserUpdateWithWhereUniqueWithoutRoleInput[] No
updateMany UserUpdateManyWithWhereWithoutRoleInput | UserUpdateManyWithWhereWithoutRoleInput[] No
deleteMany UserScalarWhereInput | UserScalarWhereInput[] No

UserUncheckedUpdateManyWithoutRoleNestedInput

Name Type Nullable
create UserCreateWithoutRoleInput | UserCreateWithoutRoleInput[] | UserUncheckedCreateWithoutRoleInput | UserUncheckedCreateWithoutRoleInput[] No
connectOrCreate UserCreateOrConnectWithoutRoleInput | UserCreateOrConnectWithoutRoleInput[] No
upsert UserUpsertWithWhereUniqueWithoutRoleInput | UserUpsertWithWhereUniqueWithoutRoleInput[] No
createMany UserCreateManyRoleInputEnvelope No
set UserWhereUniqueInput | UserWhereUniqueInput[] No
disconnect UserWhereUniqueInput | UserWhereUniqueInput[] No
delete UserWhereUniqueInput | UserWhereUniqueInput[] No
connect UserWhereUniqueInput | UserWhereUniqueInput[] No
update UserUpdateWithWhereUniqueWithoutRoleInput | UserUpdateWithWhereUniqueWithoutRoleInput[] No
updateMany UserUpdateManyWithWhereWithoutRoleInput | UserUpdateManyWithWhereWithoutRoleInput[] No
deleteMany UserScalarWhereInput | UserScalarWhereInput[] No

UserCreateNestedOneWithoutPhone_numbersInput

Name Type Nullable
create UserCreateWithoutPhone_numbersInput | UserUncheckedCreateWithoutPhone_numbersInput No
connectOrCreate UserCreateOrConnectWithoutPhone_numbersInput No
connect UserWhereUniqueInput No


OrganizationCreateNestedOneWithoutOrg_usersInput

Name Type Nullable
create OrganizationCreateWithoutOrg_usersInput | OrganizationUncheckedCreateWithoutOrg_usersInput No
connectOrCreate OrganizationCreateOrConnectWithoutOrg_usersInput No
connect OrganizationWhereUniqueInput No

UserCreateNestedOneWithoutOrg_linksInput

Name Type Nullable
create UserCreateWithoutOrg_linksInput | UserUncheckedCreateWithoutOrg_linksInput No
connectOrCreate UserCreateOrConnectWithoutOrg_linksInput No
connect UserWhereUniqueInput No

EnumOrgUserRoleFieldUpdateOperationsInput

Name Type Nullable
set OrgUserRole No



OrganizationCreateNestedOneWithoutCustomersInput

Name Type Nullable
create OrganizationCreateWithoutCustomersInput | OrganizationUncheckedCreateWithoutCustomersInput No
connectOrCreate OrganizationCreateOrConnectWithoutCustomersInput No
connect OrganizationWhereUniqueInput No

UserCreateNestedOneWithoutCutomer_linksInput

Name Type Nullable
create UserCreateWithoutCutomer_linksInput | UserUncheckedCreateWithoutCutomer_linksInput No
connectOrCreate UserCreateOrConnectWithoutCutomer_linksInput No
connect UserWhereUniqueInput No















EnumCustomerTypeFieldUpdateOperationsInput

Name Type Nullable
set CustomerType No



ProductInstanceUpdateManyWithoutCurrent_ownerNestedInput

Name Type Nullable
create ProductInstanceCreateWithoutCurrent_ownerInput | ProductInstanceCreateWithoutCurrent_ownerInput[] | ProductInstanceUncheckedCreateWithoutCurrent_ownerInput | ProductInstanceUncheckedCreateWithoutCurrent_ownerInput[] No
connectOrCreate ProductInstanceCreateOrConnectWithoutCurrent_ownerInput | ProductInstanceCreateOrConnectWithoutCurrent_ownerInput[] No
upsert ProductInstanceUpsertWithWhereUniqueWithoutCurrent_ownerInput | ProductInstanceUpsertWithWhereUniqueWithoutCurrent_ownerInput[] No
createMany ProductInstanceCreateManyCurrent_ownerInputEnvelope No
set ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
disconnect ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
delete ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
connect ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
update ProductInstanceUpdateWithWhereUniqueWithoutCurrent_ownerInput | ProductInstanceUpdateWithWhereUniqueWithoutCurrent_ownerInput[] No
updateMany ProductInstanceUpdateManyWithWhereWithoutCurrent_ownerInput | ProductInstanceUpdateManyWithWhereWithoutCurrent_ownerInput[] No
deleteMany ProductInstanceScalarWhereInput | ProductInstanceScalarWhereInput[] No

PaymentUpdateManyWithoutCustomerNestedInput

Name Type Nullable
create PaymentCreateWithoutCustomerInput | PaymentCreateWithoutCustomerInput[] | PaymentUncheckedCreateWithoutCustomerInput | PaymentUncheckedCreateWithoutCustomerInput[] No
connectOrCreate PaymentCreateOrConnectWithoutCustomerInput | PaymentCreateOrConnectWithoutCustomerInput[] No
upsert PaymentUpsertWithWhereUniqueWithoutCustomerInput | PaymentUpsertWithWhereUniqueWithoutCustomerInput[] No
createMany PaymentCreateManyCustomerInputEnvelope No
set PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
disconnect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
delete PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
connect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
update PaymentUpdateWithWhereUniqueWithoutCustomerInput | PaymentUpdateWithWhereUniqueWithoutCustomerInput[] No
updateMany PaymentUpdateManyWithWhereWithoutCustomerInput | PaymentUpdateManyWithWhereWithoutCustomerInput[] No
deleteMany PaymentScalarWhereInput | PaymentScalarWhereInput[] No

TransactionUpdateManyWithoutCustomerNestedInput

Name Type Nullable
create TransactionCreateWithoutCustomerInput | TransactionCreateWithoutCustomerInput[] | TransactionUncheckedCreateWithoutCustomerInput | TransactionUncheckedCreateWithoutCustomerInput[] No
connectOrCreate TransactionCreateOrConnectWithoutCustomerInput | TransactionCreateOrConnectWithoutCustomerInput[] No
upsert TransactionUpsertWithWhereUniqueWithoutCustomerInput | TransactionUpsertWithWhereUniqueWithoutCustomerInput[] No
createMany TransactionCreateManyCustomerInputEnvelope No
set TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
disconnect TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
delete TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
connect TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
update TransactionUpdateWithWhereUniqueWithoutCustomerInput | TransactionUpdateWithWhereUniqueWithoutCustomerInput[] No
updateMany TransactionUpdateManyWithWhereWithoutCustomerInput | TransactionUpdateManyWithWhereWithoutCustomerInput[] No
deleteMany TransactionScalarWhereInput | TransactionScalarWhereInput[] No

SaleUpdateManyWithoutCustomerNestedInput

Name Type Nullable
create SaleCreateWithoutCustomerInput | SaleCreateWithoutCustomerInput[] | SaleUncheckedCreateWithoutCustomerInput | SaleUncheckedCreateWithoutCustomerInput[] No
connectOrCreate SaleCreateOrConnectWithoutCustomerInput | SaleCreateOrConnectWithoutCustomerInput[] No
upsert SaleUpsertWithWhereUniqueWithoutCustomerInput | SaleUpsertWithWhereUniqueWithoutCustomerInput[] No
createMany SaleCreateManyCustomerInputEnvelope No
set SaleWhereUniqueInput | SaleWhereUniqueInput[] No
disconnect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
delete SaleWhereUniqueInput | SaleWhereUniqueInput[] No
connect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
update SaleUpdateWithWhereUniqueWithoutCustomerInput | SaleUpdateWithWhereUniqueWithoutCustomerInput[] No
updateMany SaleUpdateManyWithWhereWithoutCustomerInput | SaleUpdateManyWithWhereWithoutCustomerInput[] No
deleteMany SaleScalarWhereInput | SaleScalarWhereInput[] No

PurchaseUpdateManyWithoutSupplierNestedInput

Name Type Nullable
create PurchaseCreateWithoutSupplierInput | PurchaseCreateWithoutSupplierInput[] | PurchaseUncheckedCreateWithoutSupplierInput | PurchaseUncheckedCreateWithoutSupplierInput[] No
connectOrCreate PurchaseCreateOrConnectWithoutSupplierInput | PurchaseCreateOrConnectWithoutSupplierInput[] No
upsert PurchaseUpsertWithWhereUniqueWithoutSupplierInput | PurchaseUpsertWithWhereUniqueWithoutSupplierInput[] No
createMany PurchaseCreateManySupplierInputEnvelope No
set PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
disconnect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
delete PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
connect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
update PurchaseUpdateWithWhereUniqueWithoutSupplierInput | PurchaseUpdateWithWhereUniqueWithoutSupplierInput[] No
updateMany PurchaseUpdateManyWithWhereWithoutSupplierInput | PurchaseUpdateManyWithWhereWithoutSupplierInput[] No
deleteMany PurchaseScalarWhereInput | PurchaseScalarWhereInput[] No

InstallmentUpdateManyWithoutCustomerNestedInput

Name Type Nullable
create InstallmentCreateWithoutCustomerInput | InstallmentCreateWithoutCustomerInput[] | InstallmentUncheckedCreateWithoutCustomerInput | InstallmentUncheckedCreateWithoutCustomerInput[] No
connectOrCreate InstallmentCreateOrConnectWithoutCustomerInput | InstallmentCreateOrConnectWithoutCustomerInput[] No
upsert InstallmentUpsertWithWhereUniqueWithoutCustomerInput | InstallmentUpsertWithWhereUniqueWithoutCustomerInput[] No
createMany InstallmentCreateManyCustomerInputEnvelope No
set InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] No
disconnect InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] No
delete InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] No
connect InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] No
update InstallmentUpdateWithWhereUniqueWithoutCustomerInput | InstallmentUpdateWithWhereUniqueWithoutCustomerInput[] No
updateMany InstallmentUpdateManyWithWhereWithoutCustomerInput | InstallmentUpdateManyWithWhereWithoutCustomerInput[] No
deleteMany InstallmentScalarWhereInput | InstallmentScalarWhereInput[] No

DocumentUpdateManyWithoutCustomerNestedInput

Name Type Nullable
create DocumentCreateWithoutCustomerInput | DocumentCreateWithoutCustomerInput[] | DocumentUncheckedCreateWithoutCustomerInput | DocumentUncheckedCreateWithoutCustomerInput[] No
connectOrCreate DocumentCreateOrConnectWithoutCustomerInput | DocumentCreateOrConnectWithoutCustomerInput[] No
upsert DocumentUpsertWithWhereUniqueWithoutCustomerInput | DocumentUpsertWithWhereUniqueWithoutCustomerInput[] No
createMany DocumentCreateManyCustomerInputEnvelope No
set DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
disconnect DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
delete DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
connect DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
update DocumentUpdateWithWhereUniqueWithoutCustomerInput | DocumentUpdateWithWhereUniqueWithoutCustomerInput[] No
updateMany DocumentUpdateManyWithWhereWithoutCustomerInput | DocumentUpdateManyWithWhereWithoutCustomerInput[] No
deleteMany DocumentScalarWhereInput | DocumentScalarWhereInput[] No

ProductInstanceUncheckedUpdateManyWithoutCurrent_ownerNestedInput

Name Type Nullable
create ProductInstanceCreateWithoutCurrent_ownerInput | ProductInstanceCreateWithoutCurrent_ownerInput[] | ProductInstanceUncheckedCreateWithoutCurrent_ownerInput | ProductInstanceUncheckedCreateWithoutCurrent_ownerInput[] No
connectOrCreate ProductInstanceCreateOrConnectWithoutCurrent_ownerInput | ProductInstanceCreateOrConnectWithoutCurrent_ownerInput[] No
upsert ProductInstanceUpsertWithWhereUniqueWithoutCurrent_ownerInput | ProductInstanceUpsertWithWhereUniqueWithoutCurrent_ownerInput[] No
createMany ProductInstanceCreateManyCurrent_ownerInputEnvelope No
set ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
disconnect ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
delete ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
connect ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
update ProductInstanceUpdateWithWhereUniqueWithoutCurrent_ownerInput | ProductInstanceUpdateWithWhereUniqueWithoutCurrent_ownerInput[] No
updateMany ProductInstanceUpdateManyWithWhereWithoutCurrent_ownerInput | ProductInstanceUpdateManyWithWhereWithoutCurrent_ownerInput[] No
deleteMany ProductInstanceScalarWhereInput | ProductInstanceScalarWhereInput[] No

PaymentUncheckedUpdateManyWithoutCustomerNestedInput

Name Type Nullable
create PaymentCreateWithoutCustomerInput | PaymentCreateWithoutCustomerInput[] | PaymentUncheckedCreateWithoutCustomerInput | PaymentUncheckedCreateWithoutCustomerInput[] No
connectOrCreate PaymentCreateOrConnectWithoutCustomerInput | PaymentCreateOrConnectWithoutCustomerInput[] No
upsert PaymentUpsertWithWhereUniqueWithoutCustomerInput | PaymentUpsertWithWhereUniqueWithoutCustomerInput[] No
createMany PaymentCreateManyCustomerInputEnvelope No
set PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
disconnect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
delete PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
connect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
update PaymentUpdateWithWhereUniqueWithoutCustomerInput | PaymentUpdateWithWhereUniqueWithoutCustomerInput[] No
updateMany PaymentUpdateManyWithWhereWithoutCustomerInput | PaymentUpdateManyWithWhereWithoutCustomerInput[] No
deleteMany PaymentScalarWhereInput | PaymentScalarWhereInput[] No

TransactionUncheckedUpdateManyWithoutCustomerNestedInput

Name Type Nullable
create TransactionCreateWithoutCustomerInput | TransactionCreateWithoutCustomerInput[] | TransactionUncheckedCreateWithoutCustomerInput | TransactionUncheckedCreateWithoutCustomerInput[] No
connectOrCreate TransactionCreateOrConnectWithoutCustomerInput | TransactionCreateOrConnectWithoutCustomerInput[] No
upsert TransactionUpsertWithWhereUniqueWithoutCustomerInput | TransactionUpsertWithWhereUniqueWithoutCustomerInput[] No
createMany TransactionCreateManyCustomerInputEnvelope No
set TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
disconnect TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
delete TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
connect TransactionWhereUniqueInput | TransactionWhereUniqueInput[] No
update TransactionUpdateWithWhereUniqueWithoutCustomerInput | TransactionUpdateWithWhereUniqueWithoutCustomerInput[] No
updateMany TransactionUpdateManyWithWhereWithoutCustomerInput | TransactionUpdateManyWithWhereWithoutCustomerInput[] No
deleteMany TransactionScalarWhereInput | TransactionScalarWhereInput[] No

SaleUncheckedUpdateManyWithoutCustomerNestedInput

Name Type Nullable
create SaleCreateWithoutCustomerInput | SaleCreateWithoutCustomerInput[] | SaleUncheckedCreateWithoutCustomerInput | SaleUncheckedCreateWithoutCustomerInput[] No
connectOrCreate SaleCreateOrConnectWithoutCustomerInput | SaleCreateOrConnectWithoutCustomerInput[] No
upsert SaleUpsertWithWhereUniqueWithoutCustomerInput | SaleUpsertWithWhereUniqueWithoutCustomerInput[] No
createMany SaleCreateManyCustomerInputEnvelope No
set SaleWhereUniqueInput | SaleWhereUniqueInput[] No
disconnect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
delete SaleWhereUniqueInput | SaleWhereUniqueInput[] No
connect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
update SaleUpdateWithWhereUniqueWithoutCustomerInput | SaleUpdateWithWhereUniqueWithoutCustomerInput[] No
updateMany SaleUpdateManyWithWhereWithoutCustomerInput | SaleUpdateManyWithWhereWithoutCustomerInput[] No
deleteMany SaleScalarWhereInput | SaleScalarWhereInput[] No

PurchaseUncheckedUpdateManyWithoutSupplierNestedInput

Name Type Nullable
create PurchaseCreateWithoutSupplierInput | PurchaseCreateWithoutSupplierInput[] | PurchaseUncheckedCreateWithoutSupplierInput | PurchaseUncheckedCreateWithoutSupplierInput[] No
connectOrCreate PurchaseCreateOrConnectWithoutSupplierInput | PurchaseCreateOrConnectWithoutSupplierInput[] No
upsert PurchaseUpsertWithWhereUniqueWithoutSupplierInput | PurchaseUpsertWithWhereUniqueWithoutSupplierInput[] No
createMany PurchaseCreateManySupplierInputEnvelope No
set PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
disconnect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
delete PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
connect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
update PurchaseUpdateWithWhereUniqueWithoutSupplierInput | PurchaseUpdateWithWhereUniqueWithoutSupplierInput[] No
updateMany PurchaseUpdateManyWithWhereWithoutSupplierInput | PurchaseUpdateManyWithWhereWithoutSupplierInput[] No
deleteMany PurchaseScalarWhereInput | PurchaseScalarWhereInput[] No

InstallmentUncheckedUpdateManyWithoutCustomerNestedInput

Name Type Nullable
create InstallmentCreateWithoutCustomerInput | InstallmentCreateWithoutCustomerInput[] | InstallmentUncheckedCreateWithoutCustomerInput | InstallmentUncheckedCreateWithoutCustomerInput[] No
connectOrCreate InstallmentCreateOrConnectWithoutCustomerInput | InstallmentCreateOrConnectWithoutCustomerInput[] No
upsert InstallmentUpsertWithWhereUniqueWithoutCustomerInput | InstallmentUpsertWithWhereUniqueWithoutCustomerInput[] No
createMany InstallmentCreateManyCustomerInputEnvelope No
set InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] No
disconnect InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] No
delete InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] No
connect InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] No
update InstallmentUpdateWithWhereUniqueWithoutCustomerInput | InstallmentUpdateWithWhereUniqueWithoutCustomerInput[] No
updateMany InstallmentUpdateManyWithWhereWithoutCustomerInput | InstallmentUpdateManyWithWhereWithoutCustomerInput[] No
deleteMany InstallmentScalarWhereInput | InstallmentScalarWhereInput[] No

DocumentUncheckedUpdateManyWithoutCustomerNestedInput

Name Type Nullable
create DocumentCreateWithoutCustomerInput | DocumentCreateWithoutCustomerInput[] | DocumentUncheckedCreateWithoutCustomerInput | DocumentUncheckedCreateWithoutCustomerInput[] No
connectOrCreate DocumentCreateOrConnectWithoutCustomerInput | DocumentCreateOrConnectWithoutCustomerInput[] No
upsert DocumentUpsertWithWhereUniqueWithoutCustomerInput | DocumentUpsertWithWhereUniqueWithoutCustomerInput[] No
createMany DocumentCreateManyCustomerInputEnvelope No
set DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
disconnect DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
delete DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
connect DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
update DocumentUpdateWithWhereUniqueWithoutCustomerInput | DocumentUpdateWithWhereUniqueWithoutCustomerInput[] No
updateMany DocumentUpdateManyWithWhereWithoutCustomerInput | DocumentUpdateManyWithWhereWithoutCustomerInput[] No
deleteMany DocumentScalarWhereInput | DocumentScalarWhereInput[] No



ProductUpdateManyWithoutBrandNestedInput

Name Type Nullable
create ProductCreateWithoutBrandInput | ProductCreateWithoutBrandInput[] | ProductUncheckedCreateWithoutBrandInput | ProductUncheckedCreateWithoutBrandInput[] No
connectOrCreate ProductCreateOrConnectWithoutBrandInput | ProductCreateOrConnectWithoutBrandInput[] No
upsert ProductUpsertWithWhereUniqueWithoutBrandInput | ProductUpsertWithWhereUniqueWithoutBrandInput[] No
createMany ProductCreateManyBrandInputEnvelope No
set ProductWhereUniqueInput | ProductWhereUniqueInput[] No
disconnect ProductWhereUniqueInput | ProductWhereUniqueInput[] No
delete ProductWhereUniqueInput | ProductWhereUniqueInput[] No
connect ProductWhereUniqueInput | ProductWhereUniqueInput[] No
update ProductUpdateWithWhereUniqueWithoutBrandInput | ProductUpdateWithWhereUniqueWithoutBrandInput[] No
updateMany ProductUpdateManyWithWhereWithoutBrandInput | ProductUpdateManyWithWhereWithoutBrandInput[] No
deleteMany ProductScalarWhereInput | ProductScalarWhereInput[] No

ProductUncheckedUpdateManyWithoutBrandNestedInput

Name Type Nullable
create ProductCreateWithoutBrandInput | ProductCreateWithoutBrandInput[] | ProductUncheckedCreateWithoutBrandInput | ProductUncheckedCreateWithoutBrandInput[] No
connectOrCreate ProductCreateOrConnectWithoutBrandInput | ProductCreateOrConnectWithoutBrandInput[] No
upsert ProductUpsertWithWhereUniqueWithoutBrandInput | ProductUpsertWithWhereUniqueWithoutBrandInput[] No
createMany ProductCreateManyBrandInputEnvelope No
set ProductWhereUniqueInput | ProductWhereUniqueInput[] No
disconnect ProductWhereUniqueInput | ProductWhereUniqueInput[] No
delete ProductWhereUniqueInput | ProductWhereUniqueInput[] No
connect ProductWhereUniqueInput | ProductWhereUniqueInput[] No
update ProductUpdateWithWhereUniqueWithoutBrandInput | ProductUpdateWithWhereUniqueWithoutBrandInput[] No
updateMany ProductUpdateManyWithWhereWithoutBrandInput | ProductUpdateManyWithWhereWithoutBrandInput[] No
deleteMany ProductScalarWhereInput | ProductScalarWhereInput[] No

ProductCreateNestedOneWithoutImagesInput

Name Type Nullable
create ProductCreateWithoutImagesInput | ProductUncheckedCreateWithoutImagesInput No
connectOrCreate ProductCreateOrConnectWithoutImagesInput No
connect ProductWhereUniqueInput No

ProductVariantCreateNestedOneWithoutImagesInput

Name Type Nullable
create ProductVariantCreateWithoutImagesInput | ProductVariantUncheckedCreateWithoutImagesInput No
connectOrCreate ProductVariantCreateOrConnectWithoutImagesInput No
connect ProductVariantWhereUniqueInput No

IntFieldUpdateOperationsInput

Name Type Nullable
set Int No
increment Int No
decrement Int No
multiply Int No
divide Int No



OrganizationCreateNestedOneWithoutProductsInput

Name Type Nullable
create OrganizationCreateWithoutProductsInput | OrganizationUncheckedCreateWithoutProductsInput No
connectOrCreate OrganizationCreateOrConnectWithoutProductsInput No
connect OrganizationWhereUniqueInput No

BrandCreateNestedOneWithoutProductsInput

Name Type Nullable
create BrandCreateWithoutProductsInput | BrandUncheckedCreateWithoutProductsInput No
connectOrCreate BrandCreateOrConnectWithoutProductsInput No
connect BrandWhereUniqueInput No











ProductCategoryUpdateManyWithoutProductNestedInput

Name Type Nullable
create ProductCategoryCreateWithoutProductInput | ProductCategoryCreateWithoutProductInput[] | ProductCategoryUncheckedCreateWithoutProductInput | ProductCategoryUncheckedCreateWithoutProductInput[] No
connectOrCreate ProductCategoryCreateOrConnectWithoutProductInput | ProductCategoryCreateOrConnectWithoutProductInput[] No
upsert ProductCategoryUpsertWithWhereUniqueWithoutProductInput | ProductCategoryUpsertWithWhereUniqueWithoutProductInput[] No
createMany ProductCategoryCreateManyProductInputEnvelope No
set ProductCategoryWhereUniqueInput | ProductCategoryWhereUniqueInput[] No
disconnect ProductCategoryWhereUniqueInput | ProductCategoryWhereUniqueInput[] No
delete ProductCategoryWhereUniqueInput | ProductCategoryWhereUniqueInput[] No
connect ProductCategoryWhereUniqueInput | ProductCategoryWhereUniqueInput[] No
update ProductCategoryUpdateWithWhereUniqueWithoutProductInput | ProductCategoryUpdateWithWhereUniqueWithoutProductInput[] No
updateMany ProductCategoryUpdateManyWithWhereWithoutProductInput | ProductCategoryUpdateManyWithWhereWithoutProductInput[] No
deleteMany ProductCategoryScalarWhereInput | ProductCategoryScalarWhereInput[] No

ProductPriceUpdateManyWithoutProductNestedInput

Name Type Nullable
create ProductPriceCreateWithoutProductInput | ProductPriceCreateWithoutProductInput[] | ProductPriceUncheckedCreateWithoutProductInput | ProductPriceUncheckedCreateWithoutProductInput[] No
connectOrCreate ProductPriceCreateOrConnectWithoutProductInput | ProductPriceCreateOrConnectWithoutProductInput[] No
upsert ProductPriceUpsertWithWhereUniqueWithoutProductInput | ProductPriceUpsertWithWhereUniqueWithoutProductInput[] No
createMany ProductPriceCreateManyProductInputEnvelope No
set ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
disconnect ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
delete ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
connect ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
update ProductPriceUpdateWithWhereUniqueWithoutProductInput | ProductPriceUpdateWithWhereUniqueWithoutProductInput[] No
updateMany ProductPriceUpdateManyWithWhereWithoutProductInput | ProductPriceUpdateManyWithWhereWithoutProductInput[] No
deleteMany ProductPriceScalarWhereInput | ProductPriceScalarWhereInput[] No

ProductVariantUpdateManyWithoutProductNestedInput

Name Type Nullable
create ProductVariantCreateWithoutProductInput | ProductVariantCreateWithoutProductInput[] | ProductVariantUncheckedCreateWithoutProductInput | ProductVariantUncheckedCreateWithoutProductInput[] No
connectOrCreate ProductVariantCreateOrConnectWithoutProductInput | ProductVariantCreateOrConnectWithoutProductInput[] No
upsert ProductVariantUpsertWithWhereUniqueWithoutProductInput | ProductVariantUpsertWithWhereUniqueWithoutProductInput[] No
createMany ProductVariantCreateManyProductInputEnvelope No
set ProductVariantWhereUniqueInput | ProductVariantWhereUniqueInput[] No
disconnect ProductVariantWhereUniqueInput | ProductVariantWhereUniqueInput[] No
delete ProductVariantWhereUniqueInput | ProductVariantWhereUniqueInput[] No
connect ProductVariantWhereUniqueInput | ProductVariantWhereUniqueInput[] No
update ProductVariantUpdateWithWhereUniqueWithoutProductInput | ProductVariantUpdateWithWhereUniqueWithoutProductInput[] No
updateMany ProductVariantUpdateManyWithWhereWithoutProductInput | ProductVariantUpdateManyWithWhereWithoutProductInput[] No
deleteMany ProductVariantScalarWhereInput | ProductVariantScalarWhereInput[] No

ProductImageUpdateManyWithoutProductNestedInput

Name Type Nullable
create ProductImageCreateWithoutProductInput | ProductImageCreateWithoutProductInput[] | ProductImageUncheckedCreateWithoutProductInput | ProductImageUncheckedCreateWithoutProductInput[] No
connectOrCreate ProductImageCreateOrConnectWithoutProductInput | ProductImageCreateOrConnectWithoutProductInput[] No
upsert ProductImageUpsertWithWhereUniqueWithoutProductInput | ProductImageUpsertWithWhereUniqueWithoutProductInput[] No
createMany ProductImageCreateManyProductInputEnvelope No
set ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
disconnect ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
delete ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
connect ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
update ProductImageUpdateWithWhereUniqueWithoutProductInput | ProductImageUpdateWithWhereUniqueWithoutProductInput[] No
updateMany ProductImageUpdateManyWithWhereWithoutProductInput | ProductImageUpdateManyWithWhereWithoutProductInput[] No
deleteMany ProductImageScalarWhereInput | ProductImageScalarWhereInput[] No

ProductCategoryUncheckedUpdateManyWithoutProductNestedInput

Name Type Nullable
create ProductCategoryCreateWithoutProductInput | ProductCategoryCreateWithoutProductInput[] | ProductCategoryUncheckedCreateWithoutProductInput | ProductCategoryUncheckedCreateWithoutProductInput[] No
connectOrCreate ProductCategoryCreateOrConnectWithoutProductInput | ProductCategoryCreateOrConnectWithoutProductInput[] No
upsert ProductCategoryUpsertWithWhereUniqueWithoutProductInput | ProductCategoryUpsertWithWhereUniqueWithoutProductInput[] No
createMany ProductCategoryCreateManyProductInputEnvelope No
set ProductCategoryWhereUniqueInput | ProductCategoryWhereUniqueInput[] No
disconnect ProductCategoryWhereUniqueInput | ProductCategoryWhereUniqueInput[] No
delete ProductCategoryWhereUniqueInput | ProductCategoryWhereUniqueInput[] No
connect ProductCategoryWhereUniqueInput | ProductCategoryWhereUniqueInput[] No
update ProductCategoryUpdateWithWhereUniqueWithoutProductInput | ProductCategoryUpdateWithWhereUniqueWithoutProductInput[] No
updateMany ProductCategoryUpdateManyWithWhereWithoutProductInput | ProductCategoryUpdateManyWithWhereWithoutProductInput[] No
deleteMany ProductCategoryScalarWhereInput | ProductCategoryScalarWhereInput[] No

ProductPriceUncheckedUpdateManyWithoutProductNestedInput

Name Type Nullable
create ProductPriceCreateWithoutProductInput | ProductPriceCreateWithoutProductInput[] | ProductPriceUncheckedCreateWithoutProductInput | ProductPriceUncheckedCreateWithoutProductInput[] No
connectOrCreate ProductPriceCreateOrConnectWithoutProductInput | ProductPriceCreateOrConnectWithoutProductInput[] No
upsert ProductPriceUpsertWithWhereUniqueWithoutProductInput | ProductPriceUpsertWithWhereUniqueWithoutProductInput[] No
createMany ProductPriceCreateManyProductInputEnvelope No
set ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
disconnect ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
delete ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
connect ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] No
update ProductPriceUpdateWithWhereUniqueWithoutProductInput | ProductPriceUpdateWithWhereUniqueWithoutProductInput[] No
updateMany ProductPriceUpdateManyWithWhereWithoutProductInput | ProductPriceUpdateManyWithWhereWithoutProductInput[] No
deleteMany ProductPriceScalarWhereInput | ProductPriceScalarWhereInput[] No

ProductVariantUncheckedUpdateManyWithoutProductNestedInput

Name Type Nullable
create ProductVariantCreateWithoutProductInput | ProductVariantCreateWithoutProductInput[] | ProductVariantUncheckedCreateWithoutProductInput | ProductVariantUncheckedCreateWithoutProductInput[] No
connectOrCreate ProductVariantCreateOrConnectWithoutProductInput | ProductVariantCreateOrConnectWithoutProductInput[] No
upsert ProductVariantUpsertWithWhereUniqueWithoutProductInput | ProductVariantUpsertWithWhereUniqueWithoutProductInput[] No
createMany ProductVariantCreateManyProductInputEnvelope No
set ProductVariantWhereUniqueInput | ProductVariantWhereUniqueInput[] No
disconnect ProductVariantWhereUniqueInput | ProductVariantWhereUniqueInput[] No
delete ProductVariantWhereUniqueInput | ProductVariantWhereUniqueInput[] No
connect ProductVariantWhereUniqueInput | ProductVariantWhereUniqueInput[] No
update ProductVariantUpdateWithWhereUniqueWithoutProductInput | ProductVariantUpdateWithWhereUniqueWithoutProductInput[] No
updateMany ProductVariantUpdateManyWithWhereWithoutProductInput | ProductVariantUpdateManyWithWhereWithoutProductInput[] No
deleteMany ProductVariantScalarWhereInput | ProductVariantScalarWhereInput[] No

ProductImageUncheckedUpdateManyWithoutProductNestedInput

Name Type Nullable
create ProductImageCreateWithoutProductInput | ProductImageCreateWithoutProductInput[] | ProductImageUncheckedCreateWithoutProductInput | ProductImageUncheckedCreateWithoutProductInput[] No
connectOrCreate ProductImageCreateOrConnectWithoutProductInput | ProductImageCreateOrConnectWithoutProductInput[] No
upsert ProductImageUpsertWithWhereUniqueWithoutProductInput | ProductImageUpsertWithWhereUniqueWithoutProductInput[] No
createMany ProductImageCreateManyProductInputEnvelope No
set ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
disconnect ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
delete ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
connect ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
update ProductImageUpdateWithWhereUniqueWithoutProductInput | ProductImageUpdateWithWhereUniqueWithoutProductInput[] No
updateMany ProductImageUpdateManyWithWhereWithoutProductInput | ProductImageUpdateManyWithWhereWithoutProductInput[] No
deleteMany ProductImageScalarWhereInput | ProductImageScalarWhereInput[] No

CurrencyCreateNestedOneWithoutProduct_variantInput

Name Type Nullable
create CurrencyCreateWithoutProduct_variantInput | CurrencyUncheckedCreateWithoutProduct_variantInput No
connectOrCreate CurrencyCreateOrConnectWithoutProduct_variantInput No
connect CurrencyWhereUniqueInput No

ProductCreateNestedOneWithoutVariantsInput

Name Type Nullable
create ProductCreateWithoutVariantsInput | ProductUncheckedCreateWithoutVariantsInput No
connectOrCreate ProductCreateOrConnectWithoutVariantsInput No
connect ProductWhereUniqueInput No















NullableDecimalFieldUpdateOperationsInput

Name Type Nullable
set Decimal | Null Yes
increment Decimal No
decrement Decimal No
multiply Decimal No
divide Decimal No



ProductInstanceUpdateManyWithoutProductVariantNestedInput

Name Type Nullable
create ProductInstanceCreateWithoutProductVariantInput | ProductInstanceCreateWithoutProductVariantInput[] | ProductInstanceUncheckedCreateWithoutProductVariantInput | ProductInstanceUncheckedCreateWithoutProductVariantInput[] No
connectOrCreate ProductInstanceCreateOrConnectWithoutProductVariantInput | ProductInstanceCreateOrConnectWithoutProductVariantInput[] No
upsert ProductInstanceUpsertWithWhereUniqueWithoutProductVariantInput | ProductInstanceUpsertWithWhereUniqueWithoutProductVariantInput[] No
createMany ProductInstanceCreateManyProductVariantInputEnvelope No
set ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
disconnect ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
delete ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
connect ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
update ProductInstanceUpdateWithWhereUniqueWithoutProductVariantInput | ProductInstanceUpdateWithWhereUniqueWithoutProductVariantInput[] No
updateMany ProductInstanceUpdateManyWithWhereWithoutProductVariantInput | ProductInstanceUpdateManyWithWhereWithoutProductVariantInput[] No
deleteMany ProductInstanceScalarWhereInput | ProductInstanceScalarWhereInput[] No

ProductVariantAttributeUpdateManyWithoutVariantNestedInput

Name Type Nullable
create ProductVariantAttributeCreateWithoutVariantInput | ProductVariantAttributeCreateWithoutVariantInput[] | ProductVariantAttributeUncheckedCreateWithoutVariantInput | ProductVariantAttributeUncheckedCreateWithoutVariantInput[] No
connectOrCreate ProductVariantAttributeCreateOrConnectWithoutVariantInput | ProductVariantAttributeCreateOrConnectWithoutVariantInput[] No
upsert ProductVariantAttributeUpsertWithWhereUniqueWithoutVariantInput | ProductVariantAttributeUpsertWithWhereUniqueWithoutVariantInput[] No
createMany ProductVariantAttributeCreateManyVariantInputEnvelope No
set ProductVariantAttributeWhereUniqueInput | ProductVariantAttributeWhereUniqueInput[] No
disconnect ProductVariantAttributeWhereUniqueInput | ProductVariantAttributeWhereUniqueInput[] No
delete ProductVariantAttributeWhereUniqueInput | ProductVariantAttributeWhereUniqueInput[] No
connect ProductVariantAttributeWhereUniqueInput | ProductVariantAttributeWhereUniqueInput[] No
update ProductVariantAttributeUpdateWithWhereUniqueWithoutVariantInput | ProductVariantAttributeUpdateWithWhereUniqueWithoutVariantInput[] No
updateMany ProductVariantAttributeUpdateManyWithWhereWithoutVariantInput | ProductVariantAttributeUpdateManyWithWhereWithoutVariantInput[] No
deleteMany ProductVariantAttributeScalarWhereInput | ProductVariantAttributeScalarWhereInput[] No

ProductBatchUpdateManyWithoutProduct_variantNestedInput

Name Type Nullable
create ProductBatchCreateWithoutProduct_variantInput | ProductBatchCreateWithoutProduct_variantInput[] | ProductBatchUncheckedCreateWithoutProduct_variantInput | ProductBatchUncheckedCreateWithoutProduct_variantInput[] No
connectOrCreate ProductBatchCreateOrConnectWithoutProduct_variantInput | ProductBatchCreateOrConnectWithoutProduct_variantInput[] No
upsert ProductBatchUpsertWithWhereUniqueWithoutProduct_variantInput | ProductBatchUpsertWithWhereUniqueWithoutProduct_variantInput[] No
createMany ProductBatchCreateManyProduct_variantInputEnvelope No
set ProductBatchWhereUniqueInput | ProductBatchWhereUniqueInput[] No
disconnect ProductBatchWhereUniqueInput | ProductBatchWhereUniqueInput[] No
delete ProductBatchWhereUniqueInput | ProductBatchWhereUniqueInput[] No
connect ProductBatchWhereUniqueInput | ProductBatchWhereUniqueInput[] No
update ProductBatchUpdateWithWhereUniqueWithoutProduct_variantInput | ProductBatchUpdateWithWhereUniqueWithoutProduct_variantInput[] No
updateMany ProductBatchUpdateManyWithWhereWithoutProduct_variantInput | ProductBatchUpdateManyWithWhereWithoutProduct_variantInput[] No
deleteMany ProductBatchScalarWhereInput | ProductBatchScalarWhereInput[] No

StockUpdateManyWithoutProduct_variantNestedInput

Name Type Nullable
create StockCreateWithoutProduct_variantInput | StockCreateWithoutProduct_variantInput[] | StockUncheckedCreateWithoutProduct_variantInput | StockUncheckedCreateWithoutProduct_variantInput[] No
connectOrCreate StockCreateOrConnectWithoutProduct_variantInput | StockCreateOrConnectWithoutProduct_variantInput[] No
upsert StockUpsertWithWhereUniqueWithoutProduct_variantInput | StockUpsertWithWhereUniqueWithoutProduct_variantInput[] No
createMany StockCreateManyProduct_variantInputEnvelope No
set StockWhereUniqueInput | StockWhereUniqueInput[] No
disconnect StockWhereUniqueInput | StockWhereUniqueInput[] No
delete StockWhereUniqueInput | StockWhereUniqueInput[] No
connect StockWhereUniqueInput | StockWhereUniqueInput[] No
update StockUpdateWithWhereUniqueWithoutProduct_variantInput | StockUpdateWithWhereUniqueWithoutProduct_variantInput[] No
updateMany StockUpdateManyWithWhereWithoutProduct_variantInput | StockUpdateManyWithWhereWithoutProduct_variantInput[] No
deleteMany StockScalarWhereInput | StockScalarWhereInput[] No

PurchaseItemUpdateManyWithoutProduct_variantNestedInput

Name Type Nullable
create PurchaseItemCreateWithoutProduct_variantInput | PurchaseItemCreateWithoutProduct_variantInput[] | PurchaseItemUncheckedCreateWithoutProduct_variantInput | PurchaseItemUncheckedCreateWithoutProduct_variantInput[] No
connectOrCreate PurchaseItemCreateOrConnectWithoutProduct_variantInput | PurchaseItemCreateOrConnectWithoutProduct_variantInput[] No
upsert PurchaseItemUpsertWithWhereUniqueWithoutProduct_variantInput | PurchaseItemUpsertWithWhereUniqueWithoutProduct_variantInput[] No
createMany PurchaseItemCreateManyProduct_variantInputEnvelope No
set PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] No
disconnect PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] No
delete PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] No
connect PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] No
update PurchaseItemUpdateWithWhereUniqueWithoutProduct_variantInput | PurchaseItemUpdateWithWhereUniqueWithoutProduct_variantInput[] No
updateMany PurchaseItemUpdateManyWithWhereWithoutProduct_variantInput | PurchaseItemUpdateManyWithWhereWithoutProduct_variantInput[] No
deleteMany PurchaseItemScalarWhereInput | PurchaseItemScalarWhereInput[] No

SaleItemUpdateManyWithoutProduct_variantNestedInput

Name Type Nullable
create SaleItemCreateWithoutProduct_variantInput | SaleItemCreateWithoutProduct_variantInput[] | SaleItemUncheckedCreateWithoutProduct_variantInput | SaleItemUncheckedCreateWithoutProduct_variantInput[] No
connectOrCreate SaleItemCreateOrConnectWithoutProduct_variantInput | SaleItemCreateOrConnectWithoutProduct_variantInput[] No
upsert SaleItemUpsertWithWhereUniqueWithoutProduct_variantInput | SaleItemUpsertWithWhereUniqueWithoutProduct_variantInput[] No
createMany SaleItemCreateManyProduct_variantInputEnvelope No
set SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
disconnect SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
delete SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
connect SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
update SaleItemUpdateWithWhereUniqueWithoutProduct_variantInput | SaleItemUpdateWithWhereUniqueWithoutProduct_variantInput[] No
updateMany SaleItemUpdateManyWithWhereWithoutProduct_variantInput | SaleItemUpdateManyWithWhereWithoutProduct_variantInput[] No
deleteMany SaleItemScalarWhereInput | SaleItemScalarWhereInput[] No

ProductImageUpdateManyWithoutProductVariantNestedInput

Name Type Nullable
create ProductImageCreateWithoutProductVariantInput | ProductImageCreateWithoutProductVariantInput[] | ProductImageUncheckedCreateWithoutProductVariantInput | ProductImageUncheckedCreateWithoutProductVariantInput[] No
connectOrCreate ProductImageCreateOrConnectWithoutProductVariantInput | ProductImageCreateOrConnectWithoutProductVariantInput[] No
upsert ProductImageUpsertWithWhereUniqueWithoutProductVariantInput | ProductImageUpsertWithWhereUniqueWithoutProductVariantInput[] No
createMany ProductImageCreateManyProductVariantInputEnvelope No
set ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
disconnect ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
delete ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
connect ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
update ProductImageUpdateWithWhereUniqueWithoutProductVariantInput | ProductImageUpdateWithWhereUniqueWithoutProductVariantInput[] No
updateMany ProductImageUpdateManyWithWhereWithoutProductVariantInput | ProductImageUpdateManyWithWhereWithoutProductVariantInput[] No
deleteMany ProductImageScalarWhereInput | ProductImageScalarWhereInput[] No

ProductInstanceUncheckedUpdateManyWithoutProductVariantNestedInput

Name Type Nullable
create ProductInstanceCreateWithoutProductVariantInput | ProductInstanceCreateWithoutProductVariantInput[] | ProductInstanceUncheckedCreateWithoutProductVariantInput | ProductInstanceUncheckedCreateWithoutProductVariantInput[] No
connectOrCreate ProductInstanceCreateOrConnectWithoutProductVariantInput | ProductInstanceCreateOrConnectWithoutProductVariantInput[] No
upsert ProductInstanceUpsertWithWhereUniqueWithoutProductVariantInput | ProductInstanceUpsertWithWhereUniqueWithoutProductVariantInput[] No
createMany ProductInstanceCreateManyProductVariantInputEnvelope No
set ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
disconnect ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
delete ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
connect ProductInstanceWhereUniqueInput | ProductInstanceWhereUniqueInput[] No
update ProductInstanceUpdateWithWhereUniqueWithoutProductVariantInput | ProductInstanceUpdateWithWhereUniqueWithoutProductVariantInput[] No
updateMany ProductInstanceUpdateManyWithWhereWithoutProductVariantInput | ProductInstanceUpdateManyWithWhereWithoutProductVariantInput[] No
deleteMany ProductInstanceScalarWhereInput | ProductInstanceScalarWhereInput[] No

ProductVariantAttributeUncheckedUpdateManyWithoutVariantNestedInput

Name Type Nullable
create ProductVariantAttributeCreateWithoutVariantInput | ProductVariantAttributeCreateWithoutVariantInput[] | ProductVariantAttributeUncheckedCreateWithoutVariantInput | ProductVariantAttributeUncheckedCreateWithoutVariantInput[] No
connectOrCreate ProductVariantAttributeCreateOrConnectWithoutVariantInput | ProductVariantAttributeCreateOrConnectWithoutVariantInput[] No
upsert ProductVariantAttributeUpsertWithWhereUniqueWithoutVariantInput | ProductVariantAttributeUpsertWithWhereUniqueWithoutVariantInput[] No
createMany ProductVariantAttributeCreateManyVariantInputEnvelope No
set ProductVariantAttributeWhereUniqueInput | ProductVariantAttributeWhereUniqueInput[] No
disconnect ProductVariantAttributeWhereUniqueInput | ProductVariantAttributeWhereUniqueInput[] No
delete ProductVariantAttributeWhereUniqueInput | ProductVariantAttributeWhereUniqueInput[] No
connect ProductVariantAttributeWhereUniqueInput | ProductVariantAttributeWhereUniqueInput[] No
update ProductVariantAttributeUpdateWithWhereUniqueWithoutVariantInput | ProductVariantAttributeUpdateWithWhereUniqueWithoutVariantInput[] No
updateMany ProductVariantAttributeUpdateManyWithWhereWithoutVariantInput | ProductVariantAttributeUpdateManyWithWhereWithoutVariantInput[] No
deleteMany ProductVariantAttributeScalarWhereInput | ProductVariantAttributeScalarWhereInput[] No

ProductBatchUncheckedUpdateManyWithoutProduct_variantNestedInput

Name Type Nullable
create ProductBatchCreateWithoutProduct_variantInput | ProductBatchCreateWithoutProduct_variantInput[] | ProductBatchUncheckedCreateWithoutProduct_variantInput | ProductBatchUncheckedCreateWithoutProduct_variantInput[] No
connectOrCreate ProductBatchCreateOrConnectWithoutProduct_variantInput | ProductBatchCreateOrConnectWithoutProduct_variantInput[] No
upsert ProductBatchUpsertWithWhereUniqueWithoutProduct_variantInput | ProductBatchUpsertWithWhereUniqueWithoutProduct_variantInput[] No
createMany ProductBatchCreateManyProduct_variantInputEnvelope No
set ProductBatchWhereUniqueInput | ProductBatchWhereUniqueInput[] No
disconnect ProductBatchWhereUniqueInput | ProductBatchWhereUniqueInput[] No
delete ProductBatchWhereUniqueInput | ProductBatchWhereUniqueInput[] No
connect ProductBatchWhereUniqueInput | ProductBatchWhereUniqueInput[] No
update ProductBatchUpdateWithWhereUniqueWithoutProduct_variantInput | ProductBatchUpdateWithWhereUniqueWithoutProduct_variantInput[] No
updateMany ProductBatchUpdateManyWithWhereWithoutProduct_variantInput | ProductBatchUpdateManyWithWhereWithoutProduct_variantInput[] No
deleteMany ProductBatchScalarWhereInput | ProductBatchScalarWhereInput[] No

StockUncheckedUpdateManyWithoutProduct_variantNestedInput

Name Type Nullable
create StockCreateWithoutProduct_variantInput | StockCreateWithoutProduct_variantInput[] | StockUncheckedCreateWithoutProduct_variantInput | StockUncheckedCreateWithoutProduct_variantInput[] No
connectOrCreate StockCreateOrConnectWithoutProduct_variantInput | StockCreateOrConnectWithoutProduct_variantInput[] No
upsert StockUpsertWithWhereUniqueWithoutProduct_variantInput | StockUpsertWithWhereUniqueWithoutProduct_variantInput[] No
createMany StockCreateManyProduct_variantInputEnvelope No
set StockWhereUniqueInput | StockWhereUniqueInput[] No
disconnect StockWhereUniqueInput | StockWhereUniqueInput[] No
delete StockWhereUniqueInput | StockWhereUniqueInput[] No
connect StockWhereUniqueInput | StockWhereUniqueInput[] No
update StockUpdateWithWhereUniqueWithoutProduct_variantInput | StockUpdateWithWhereUniqueWithoutProduct_variantInput[] No
updateMany StockUpdateManyWithWhereWithoutProduct_variantInput | StockUpdateManyWithWhereWithoutProduct_variantInput[] No
deleteMany StockScalarWhereInput | StockScalarWhereInput[] No

PurchaseItemUncheckedUpdateManyWithoutProduct_variantNestedInput

Name Type Nullable
create PurchaseItemCreateWithoutProduct_variantInput | PurchaseItemCreateWithoutProduct_variantInput[] | PurchaseItemUncheckedCreateWithoutProduct_variantInput | PurchaseItemUncheckedCreateWithoutProduct_variantInput[] No
connectOrCreate PurchaseItemCreateOrConnectWithoutProduct_variantInput | PurchaseItemCreateOrConnectWithoutProduct_variantInput[] No
upsert PurchaseItemUpsertWithWhereUniqueWithoutProduct_variantInput | PurchaseItemUpsertWithWhereUniqueWithoutProduct_variantInput[] No
createMany PurchaseItemCreateManyProduct_variantInputEnvelope No
set PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] No
disconnect PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] No
delete PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] No
connect PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] No
update PurchaseItemUpdateWithWhereUniqueWithoutProduct_variantInput | PurchaseItemUpdateWithWhereUniqueWithoutProduct_variantInput[] No
updateMany PurchaseItemUpdateManyWithWhereWithoutProduct_variantInput | PurchaseItemUpdateManyWithWhereWithoutProduct_variantInput[] No
deleteMany PurchaseItemScalarWhereInput | PurchaseItemScalarWhereInput[] No

SaleItemUncheckedUpdateManyWithoutProduct_variantNestedInput

Name Type Nullable
create SaleItemCreateWithoutProduct_variantInput | SaleItemCreateWithoutProduct_variantInput[] | SaleItemUncheckedCreateWithoutProduct_variantInput | SaleItemUncheckedCreateWithoutProduct_variantInput[] No
connectOrCreate SaleItemCreateOrConnectWithoutProduct_variantInput | SaleItemCreateOrConnectWithoutProduct_variantInput[] No
upsert SaleItemUpsertWithWhereUniqueWithoutProduct_variantInput | SaleItemUpsertWithWhereUniqueWithoutProduct_variantInput[] No
createMany SaleItemCreateManyProduct_variantInputEnvelope No
set SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
disconnect SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
delete SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
connect SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
update SaleItemUpdateWithWhereUniqueWithoutProduct_variantInput | SaleItemUpdateWithWhereUniqueWithoutProduct_variantInput[] No
updateMany SaleItemUpdateManyWithWhereWithoutProduct_variantInput | SaleItemUpdateManyWithWhereWithoutProduct_variantInput[] No
deleteMany SaleItemScalarWhereInput | SaleItemScalarWhereInput[] No

ProductImageUncheckedUpdateManyWithoutProductVariantNestedInput

Name Type Nullable
create ProductImageCreateWithoutProductVariantInput | ProductImageCreateWithoutProductVariantInput[] | ProductImageUncheckedCreateWithoutProductVariantInput | ProductImageUncheckedCreateWithoutProductVariantInput[] No
connectOrCreate ProductImageCreateOrConnectWithoutProductVariantInput | ProductImageCreateOrConnectWithoutProductVariantInput[] No
upsert ProductImageUpsertWithWhereUniqueWithoutProductVariantInput | ProductImageUpsertWithWhereUniqueWithoutProductVariantInput[] No
createMany ProductImageCreateManyProductVariantInputEnvelope No
set ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
disconnect ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
delete ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
connect ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
update ProductImageUpdateWithWhereUniqueWithoutProductVariantInput | ProductImageUpdateWithWhereUniqueWithoutProductVariantInput[] No
updateMany ProductImageUpdateManyWithWhereWithoutProductVariantInput | ProductImageUpdateManyWithWhereWithoutProductVariantInput[] No
deleteMany ProductImageScalarWhereInput | ProductImageScalarWhereInput[] No



AttributeValueUpdateManyWithoutAttributeNestedInput

Name Type Nullable
create AttributeValueCreateWithoutAttributeInput | AttributeValueCreateWithoutAttributeInput[] | AttributeValueUncheckedCreateWithoutAttributeInput | AttributeValueUncheckedCreateWithoutAttributeInput[] No
connectOrCreate AttributeValueCreateOrConnectWithoutAttributeInput | AttributeValueCreateOrConnectWithoutAttributeInput[] No
upsert AttributeValueUpsertWithWhereUniqueWithoutAttributeInput | AttributeValueUpsertWithWhereUniqueWithoutAttributeInput[] No
createMany AttributeValueCreateManyAttributeInputEnvelope No
set AttributeValueWhereUniqueInput | AttributeValueWhereUniqueInput[] No
disconnect AttributeValueWhereUniqueInput | AttributeValueWhereUniqueInput[] No
delete AttributeValueWhereUniqueInput | AttributeValueWhereUniqueInput[] No
connect AttributeValueWhereUniqueInput | AttributeValueWhereUniqueInput[] No
update AttributeValueUpdateWithWhereUniqueWithoutAttributeInput | AttributeValueUpdateWithWhereUniqueWithoutAttributeInput[] No
updateMany AttributeValueUpdateManyWithWhereWithoutAttributeInput | AttributeValueUpdateManyWithWhereWithoutAttributeInput[] No
deleteMany AttributeValueScalarWhereInput | AttributeValueScalarWhereInput[] No

AttributeValueUncheckedUpdateManyWithoutAttributeNestedInput

Name Type Nullable
create AttributeValueCreateWithoutAttributeInput | AttributeValueCreateWithoutAttributeInput[] | AttributeValueUncheckedCreateWithoutAttributeInput | AttributeValueUncheckedCreateWithoutAttributeInput[] No
connectOrCreate AttributeValueCreateOrConnectWithoutAttributeInput | AttributeValueCreateOrConnectWithoutAttributeInput[] No
upsert AttributeValueUpsertWithWhereUniqueWithoutAttributeInput | AttributeValueUpsertWithWhereUniqueWithoutAttributeInput[] No
createMany AttributeValueCreateManyAttributeInputEnvelope No
set AttributeValueWhereUniqueInput | AttributeValueWhereUniqueInput[] No
disconnect AttributeValueWhereUniqueInput | AttributeValueWhereUniqueInput[] No
delete AttributeValueWhereUniqueInput | AttributeValueWhereUniqueInput[] No
connect AttributeValueWhereUniqueInput | AttributeValueWhereUniqueInput[] No
update AttributeValueUpdateWithWhereUniqueWithoutAttributeInput | AttributeValueUpdateWithWhereUniqueWithoutAttributeInput[] No
updateMany AttributeValueUpdateManyWithWhereWithoutAttributeInput | AttributeValueUpdateManyWithWhereWithoutAttributeInput[] No
deleteMany AttributeValueScalarWhereInput | AttributeValueScalarWhereInput[] No

AttributeCreateNestedOneWithoutValuesInput

Name Type Nullable
create AttributeCreateWithoutValuesInput | AttributeUncheckedCreateWithoutValuesInput No
connectOrCreate AttributeCreateOrConnectWithoutValuesInput No
connect AttributeWhereUniqueInput No




ProductVariantAttributeUpdateManyWithoutValueNestedInput

Name Type Nullable
create ProductVariantAttributeCreateWithoutValueInput | ProductVariantAttributeCreateWithoutValueInput[] | ProductVariantAttributeUncheckedCreateWithoutValueInput | ProductVariantAttributeUncheckedCreateWithoutValueInput[] No
connectOrCreate ProductVariantAttributeCreateOrConnectWithoutValueInput | ProductVariantAttributeCreateOrConnectWithoutValueInput[] No
upsert ProductVariantAttributeUpsertWithWhereUniqueWithoutValueInput | ProductVariantAttributeUpsertWithWhereUniqueWithoutValueInput[] No
createMany ProductVariantAttributeCreateManyValueInputEnvelope No
set ProductVariantAttributeWhereUniqueInput | ProductVariantAttributeWhereUniqueInput[] No
disconnect ProductVariantAttributeWhereUniqueInput | ProductVariantAttributeWhereUniqueInput[] No
delete ProductVariantAttributeWhereUniqueInput | ProductVariantAttributeWhereUniqueInput[] No
connect ProductVariantAttributeWhereUniqueInput | ProductVariantAttributeWhereUniqueInput[] No
update ProductVariantAttributeUpdateWithWhereUniqueWithoutValueInput | ProductVariantAttributeUpdateWithWhereUniqueWithoutValueInput[] No
updateMany ProductVariantAttributeUpdateManyWithWhereWithoutValueInput | ProductVariantAttributeUpdateManyWithWhereWithoutValueInput[] No
deleteMany ProductVariantAttributeScalarWhereInput | ProductVariantAttributeScalarWhereInput[] No

ProductVariantAttributeUncheckedUpdateManyWithoutValueNestedInput

Name Type Nullable
create ProductVariantAttributeCreateWithoutValueInput | ProductVariantAttributeCreateWithoutValueInput[] | ProductVariantAttributeUncheckedCreateWithoutValueInput | ProductVariantAttributeUncheckedCreateWithoutValueInput[] No
connectOrCreate ProductVariantAttributeCreateOrConnectWithoutValueInput | ProductVariantAttributeCreateOrConnectWithoutValueInput[] No
upsert ProductVariantAttributeUpsertWithWhereUniqueWithoutValueInput | ProductVariantAttributeUpsertWithWhereUniqueWithoutValueInput[] No
createMany ProductVariantAttributeCreateManyValueInputEnvelope No
set ProductVariantAttributeWhereUniqueInput | ProductVariantAttributeWhereUniqueInput[] No
disconnect ProductVariantAttributeWhereUniqueInput | ProductVariantAttributeWhereUniqueInput[] No
delete ProductVariantAttributeWhereUniqueInput | ProductVariantAttributeWhereUniqueInput[] No
connect ProductVariantAttributeWhereUniqueInput | ProductVariantAttributeWhereUniqueInput[] No
update ProductVariantAttributeUpdateWithWhereUniqueWithoutValueInput | ProductVariantAttributeUpdateWithWhereUniqueWithoutValueInput[] No
updateMany ProductVariantAttributeUpdateManyWithWhereWithoutValueInput | ProductVariantAttributeUpdateManyWithWhereWithoutValueInput[] No
deleteMany ProductVariantAttributeScalarWhereInput | ProductVariantAttributeScalarWhereInput[] No







ProductCategoryUpdateManyWithoutCategoryNestedInput

Name Type Nullable
create ProductCategoryCreateWithoutCategoryInput | ProductCategoryCreateWithoutCategoryInput[] | ProductCategoryUncheckedCreateWithoutCategoryInput | ProductCategoryUncheckedCreateWithoutCategoryInput[] No
connectOrCreate ProductCategoryCreateOrConnectWithoutCategoryInput | ProductCategoryCreateOrConnectWithoutCategoryInput[] No
upsert ProductCategoryUpsertWithWhereUniqueWithoutCategoryInput | ProductCategoryUpsertWithWhereUniqueWithoutCategoryInput[] No
createMany ProductCategoryCreateManyCategoryInputEnvelope No
set ProductCategoryWhereUniqueInput | ProductCategoryWhereUniqueInput[] No
disconnect ProductCategoryWhereUniqueInput | ProductCategoryWhereUniqueInput[] No
delete ProductCategoryWhereUniqueInput | ProductCategoryWhereUniqueInput[] No
connect ProductCategoryWhereUniqueInput | ProductCategoryWhereUniqueInput[] No
update ProductCategoryUpdateWithWhereUniqueWithoutCategoryInput | ProductCategoryUpdateWithWhereUniqueWithoutCategoryInput[] No
updateMany ProductCategoryUpdateManyWithWhereWithoutCategoryInput | ProductCategoryUpdateManyWithWhereWithoutCategoryInput[] No
deleteMany ProductCategoryScalarWhereInput | ProductCategoryScalarWhereInput[] No

ProductCategoryUncheckedUpdateManyWithoutCategoryNestedInput

Name Type Nullable
create ProductCategoryCreateWithoutCategoryInput | ProductCategoryCreateWithoutCategoryInput[] | ProductCategoryUncheckedCreateWithoutCategoryInput | ProductCategoryUncheckedCreateWithoutCategoryInput[] No
connectOrCreate ProductCategoryCreateOrConnectWithoutCategoryInput | ProductCategoryCreateOrConnectWithoutCategoryInput[] No
upsert ProductCategoryUpsertWithWhereUniqueWithoutCategoryInput | ProductCategoryUpsertWithWhereUniqueWithoutCategoryInput[] No
createMany ProductCategoryCreateManyCategoryInputEnvelope No
set ProductCategoryWhereUniqueInput | ProductCategoryWhereUniqueInput[] No
disconnect ProductCategoryWhereUniqueInput | ProductCategoryWhereUniqueInput[] No
delete ProductCategoryWhereUniqueInput | ProductCategoryWhereUniqueInput[] No
connect ProductCategoryWhereUniqueInput | ProductCategoryWhereUniqueInput[] No
update ProductCategoryUpdateWithWhereUniqueWithoutCategoryInput | ProductCategoryUpdateWithWhereUniqueWithoutCategoryInput[] No
updateMany ProductCategoryUpdateManyWithWhereWithoutCategoryInput | ProductCategoryUpdateManyWithWhereWithoutCategoryInput[] No
deleteMany ProductCategoryScalarWhereInput | ProductCategoryScalarWhereInput[] No

ProductCreateNestedOneWithoutCategoriesInput

Name Type Nullable
create ProductCreateWithoutCategoriesInput | ProductUncheckedCreateWithoutCategoriesInput No
connectOrCreate ProductCreateOrConnectWithoutCategoriesInput No
connect ProductWhereUniqueInput No

CategoryCreateNestedOneWithoutProductsInput

Name Type Nullable
create CategoryCreateWithoutProductsInput | CategoryUncheckedCreateWithoutProductsInput No
connectOrCreate CategoryCreateOrConnectWithoutProductsInput No
connect CategoryWhereUniqueInput No



CurrencyCreateNestedOneWithoutProduct_pricesInput

Name Type Nullable
create CurrencyCreateWithoutProduct_pricesInput | CurrencyUncheckedCreateWithoutProduct_pricesInput No
connectOrCreate CurrencyCreateOrConnectWithoutProduct_pricesInput No
connect CurrencyWhereUniqueInput No

ProductCreateNestedOneWithoutPricesInput

Name Type Nullable
create ProductCreateWithoutPricesInput | ProductUncheckedCreateWithoutPricesInput No
connectOrCreate ProductCreateOrConnectWithoutPricesInput No
connect ProductWhereUniqueInput No

OrganizationCreateNestedOneWithoutProduct_pricesInput

Name Type Nullable
create OrganizationCreateWithoutProduct_pricesInput | OrganizationUncheckedCreateWithoutProduct_pricesInput No
connectOrCreate OrganizationCreateOrConnectWithoutProduct_pricesInput No
connect OrganizationWhereUniqueInput No

EnumPriceTypeFieldUpdateOperationsInput

Name Type Nullable
set PriceType No

NullableEnumCustomerTypeFieldUpdateOperationsInput

Name Type Nullable
set CustomerType | Null Yes









EnumProductStatusFieldUpdateOperationsInput

Name Type Nullable
set ProductStatus No




ProductTransactionUpdateManyWithoutProduct_instanceNestedInput

Name Type Nullable
create ProductTransactionCreateWithoutProduct_instanceInput | ProductTransactionCreateWithoutProduct_instanceInput[] | ProductTransactionUncheckedCreateWithoutProduct_instanceInput | ProductTransactionUncheckedCreateWithoutProduct_instanceInput[] No
connectOrCreate ProductTransactionCreateOrConnectWithoutProduct_instanceInput | ProductTransactionCreateOrConnectWithoutProduct_instanceInput[] No
upsert ProductTransactionUpsertWithWhereUniqueWithoutProduct_instanceInput | ProductTransactionUpsertWithWhereUniqueWithoutProduct_instanceInput[] No
createMany ProductTransactionCreateManyProduct_instanceInputEnvelope No
set ProductTransactionWhereUniqueInput | ProductTransactionWhereUniqueInput[] No
disconnect ProductTransactionWhereUniqueInput | ProductTransactionWhereUniqueInput[] No
delete ProductTransactionWhereUniqueInput | ProductTransactionWhereUniqueInput[] No
connect ProductTransactionWhereUniqueInput | ProductTransactionWhereUniqueInput[] No
update ProductTransactionUpdateWithWhereUniqueWithoutProduct_instanceInput | ProductTransactionUpdateWithWhereUniqueWithoutProduct_instanceInput[] No
updateMany ProductTransactionUpdateManyWithWhereWithoutProduct_instanceInput | ProductTransactionUpdateManyWithWhereWithoutProduct_instanceInput[] No
deleteMany ProductTransactionScalarWhereInput | ProductTransactionScalarWhereInput[] No

ProductTransactionUncheckedUpdateManyWithoutProduct_instanceNestedInput

Name Type Nullable
create ProductTransactionCreateWithoutProduct_instanceInput | ProductTransactionCreateWithoutProduct_instanceInput[] | ProductTransactionUncheckedCreateWithoutProduct_instanceInput | ProductTransactionUncheckedCreateWithoutProduct_instanceInput[] No
connectOrCreate ProductTransactionCreateOrConnectWithoutProduct_instanceInput | ProductTransactionCreateOrConnectWithoutProduct_instanceInput[] No
upsert ProductTransactionUpsertWithWhereUniqueWithoutProduct_instanceInput | ProductTransactionUpsertWithWhereUniqueWithoutProduct_instanceInput[] No
createMany ProductTransactionCreateManyProduct_instanceInputEnvelope No
set ProductTransactionWhereUniqueInput | ProductTransactionWhereUniqueInput[] No
disconnect ProductTransactionWhereUniqueInput | ProductTransactionWhereUniqueInput[] No
delete ProductTransactionWhereUniqueInput | ProductTransactionWhereUniqueInput[] No
connect ProductTransactionWhereUniqueInput | ProductTransactionWhereUniqueInput[] No
update ProductTransactionUpdateWithWhereUniqueWithoutProduct_instanceInput | ProductTransactionUpdateWithWhereUniqueWithoutProduct_instanceInput[] No
updateMany ProductTransactionUpdateManyWithWhereWithoutProduct_instanceInput | ProductTransactionUpdateManyWithWhereWithoutProduct_instanceInput[] No
deleteMany ProductTransactionScalarWhereInput | ProductTransactionScalarWhereInput[] No


EnumProductActionFieldUpdateOperationsInput

Name Type Nullable
set ProductAction No




OrganizationCreateNestedOneWithoutStocksInput

Name Type Nullable
create OrganizationCreateWithoutStocksInput | OrganizationUncheckedCreateWithoutStocksInput No
connectOrCreate OrganizationCreateOrConnectWithoutStocksInput No
connect OrganizationWhereUniqueInput No

ProductVariantCreateNestedOneWithoutStocksInput

Name Type Nullable
create ProductVariantCreateWithoutStocksInput | ProductVariantUncheckedCreateWithoutStocksInput No
connectOrCreate ProductVariantCreateOrConnectWithoutStocksInput No
connect ProductVariantWhereUniqueInput No



OrganizationCreateNestedOneWithoutKassasInput

Name Type Nullable
create OrganizationCreateWithoutKassasInput | OrganizationUncheckedCreateWithoutKassasInput No
connectOrCreate OrganizationCreateOrConnectWithoutKassasInput No
connect OrganizationWhereUniqueInput No

CurrencyCreateNestedOneWithoutKassasInput

Name Type Nullable
create CurrencyCreateWithoutKassasInput | CurrencyUncheckedCreateWithoutKassasInput No
connectOrCreate CurrencyCreateOrConnectWithoutKassasInput No
connect CurrencyWhereUniqueInput No













PaymentUpdateManyWithoutKassaNestedInput

Name Type Nullable
create PaymentCreateWithoutKassaInput | PaymentCreateWithoutKassaInput[] | PaymentUncheckedCreateWithoutKassaInput | PaymentUncheckedCreateWithoutKassaInput[] No
connectOrCreate PaymentCreateOrConnectWithoutKassaInput | PaymentCreateOrConnectWithoutKassaInput[] No
upsert PaymentUpsertWithWhereUniqueWithoutKassaInput | PaymentUpsertWithWhereUniqueWithoutKassaInput[] No
createMany PaymentCreateManyKassaInputEnvelope No
set PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
disconnect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
delete PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
connect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
update PaymentUpdateWithWhereUniqueWithoutKassaInput | PaymentUpdateWithWhereUniqueWithoutKassaInput[] No
updateMany PaymentUpdateManyWithWhereWithoutKassaInput | PaymentUpdateManyWithWhereWithoutKassaInput[] No
deleteMany PaymentScalarWhereInput | PaymentScalarWhereInput[] No

PurchaseUpdateManyWithoutKassaNestedInput

Name Type Nullable
create PurchaseCreateWithoutKassaInput | PurchaseCreateWithoutKassaInput[] | PurchaseUncheckedCreateWithoutKassaInput | PurchaseUncheckedCreateWithoutKassaInput[] No
connectOrCreate PurchaseCreateOrConnectWithoutKassaInput | PurchaseCreateOrConnectWithoutKassaInput[] No
upsert PurchaseUpsertWithWhereUniqueWithoutKassaInput | PurchaseUpsertWithWhereUniqueWithoutKassaInput[] No
createMany PurchaseCreateManyKassaInputEnvelope No
set PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
disconnect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
delete PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
connect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
update PurchaseUpdateWithWhereUniqueWithoutKassaInput | PurchaseUpdateWithWhereUniqueWithoutKassaInput[] No
updateMany PurchaseUpdateManyWithWhereWithoutKassaInput | PurchaseUpdateManyWithWhereWithoutKassaInput[] No
deleteMany PurchaseScalarWhereInput | PurchaseScalarWhereInput[] No

SaleUpdateManyWithoutKassaNestedInput

Name Type Nullable
create SaleCreateWithoutKassaInput | SaleCreateWithoutKassaInput[] | SaleUncheckedCreateWithoutKassaInput | SaleUncheckedCreateWithoutKassaInput[] No
connectOrCreate SaleCreateOrConnectWithoutKassaInput | SaleCreateOrConnectWithoutKassaInput[] No
upsert SaleUpsertWithWhereUniqueWithoutKassaInput | SaleUpsertWithWhereUniqueWithoutKassaInput[] No
createMany SaleCreateManyKassaInputEnvelope No
set SaleWhereUniqueInput | SaleWhereUniqueInput[] No
disconnect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
delete SaleWhereUniqueInput | SaleWhereUniqueInput[] No
connect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
update SaleUpdateWithWhereUniqueWithoutKassaInput | SaleUpdateWithWhereUniqueWithoutKassaInput[] No
updateMany SaleUpdateManyWithWhereWithoutKassaInput | SaleUpdateManyWithWhereWithoutKassaInput[] No
deleteMany SaleScalarWhereInput | SaleScalarWhereInput[] No

KassaTransferUpdateManyWithoutFrom_kassaNestedInput

Name Type Nullable
create KassaTransferCreateWithoutFrom_kassaInput | KassaTransferCreateWithoutFrom_kassaInput[] | KassaTransferUncheckedCreateWithoutFrom_kassaInput | KassaTransferUncheckedCreateWithoutFrom_kassaInput[] No
connectOrCreate KassaTransferCreateOrConnectWithoutFrom_kassaInput | KassaTransferCreateOrConnectWithoutFrom_kassaInput[] No
upsert KassaTransferUpsertWithWhereUniqueWithoutFrom_kassaInput | KassaTransferUpsertWithWhereUniqueWithoutFrom_kassaInput[] No
createMany KassaTransferCreateManyFrom_kassaInputEnvelope No
set KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
disconnect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
delete KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
connect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
update KassaTransferUpdateWithWhereUniqueWithoutFrom_kassaInput | KassaTransferUpdateWithWhereUniqueWithoutFrom_kassaInput[] No
updateMany KassaTransferUpdateManyWithWhereWithoutFrom_kassaInput | KassaTransferUpdateManyWithWhereWithoutFrom_kassaInput[] No
deleteMany KassaTransferScalarWhereInput | KassaTransferScalarWhereInput[] No

KassaTransferUpdateManyWithoutTo_kassaNestedInput

Name Type Nullable
create KassaTransferCreateWithoutTo_kassaInput | KassaTransferCreateWithoutTo_kassaInput[] | KassaTransferUncheckedCreateWithoutTo_kassaInput | KassaTransferUncheckedCreateWithoutTo_kassaInput[] No
connectOrCreate KassaTransferCreateOrConnectWithoutTo_kassaInput | KassaTransferCreateOrConnectWithoutTo_kassaInput[] No
upsert KassaTransferUpsertWithWhereUniqueWithoutTo_kassaInput | KassaTransferUpsertWithWhereUniqueWithoutTo_kassaInput[] No
createMany KassaTransferCreateManyTo_kassaInputEnvelope No
set KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
disconnect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
delete KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
connect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
update KassaTransferUpdateWithWhereUniqueWithoutTo_kassaInput | KassaTransferUpdateWithWhereUniqueWithoutTo_kassaInput[] No
updateMany KassaTransferUpdateManyWithWhereWithoutTo_kassaInput | KassaTransferUpdateManyWithWhereWithoutTo_kassaInput[] No
deleteMany KassaTransferScalarWhereInput | KassaTransferScalarWhereInput[] No

PaymentUncheckedUpdateManyWithoutKassaNestedInput

Name Type Nullable
create PaymentCreateWithoutKassaInput | PaymentCreateWithoutKassaInput[] | PaymentUncheckedCreateWithoutKassaInput | PaymentUncheckedCreateWithoutKassaInput[] No
connectOrCreate PaymentCreateOrConnectWithoutKassaInput | PaymentCreateOrConnectWithoutKassaInput[] No
upsert PaymentUpsertWithWhereUniqueWithoutKassaInput | PaymentUpsertWithWhereUniqueWithoutKassaInput[] No
createMany PaymentCreateManyKassaInputEnvelope No
set PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
disconnect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
delete PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
connect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
update PaymentUpdateWithWhereUniqueWithoutKassaInput | PaymentUpdateWithWhereUniqueWithoutKassaInput[] No
updateMany PaymentUpdateManyWithWhereWithoutKassaInput | PaymentUpdateManyWithWhereWithoutKassaInput[] No
deleteMany PaymentScalarWhereInput | PaymentScalarWhereInput[] No

PurchaseUncheckedUpdateManyWithoutKassaNestedInput

Name Type Nullable
create PurchaseCreateWithoutKassaInput | PurchaseCreateWithoutKassaInput[] | PurchaseUncheckedCreateWithoutKassaInput | PurchaseUncheckedCreateWithoutKassaInput[] No
connectOrCreate PurchaseCreateOrConnectWithoutKassaInput | PurchaseCreateOrConnectWithoutKassaInput[] No
upsert PurchaseUpsertWithWhereUniqueWithoutKassaInput | PurchaseUpsertWithWhereUniqueWithoutKassaInput[] No
createMany PurchaseCreateManyKassaInputEnvelope No
set PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
disconnect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
delete PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
connect PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] No
update PurchaseUpdateWithWhereUniqueWithoutKassaInput | PurchaseUpdateWithWhereUniqueWithoutKassaInput[] No
updateMany PurchaseUpdateManyWithWhereWithoutKassaInput | PurchaseUpdateManyWithWhereWithoutKassaInput[] No
deleteMany PurchaseScalarWhereInput | PurchaseScalarWhereInput[] No

SaleUncheckedUpdateManyWithoutKassaNestedInput

Name Type Nullable
create SaleCreateWithoutKassaInput | SaleCreateWithoutKassaInput[] | SaleUncheckedCreateWithoutKassaInput | SaleUncheckedCreateWithoutKassaInput[] No
connectOrCreate SaleCreateOrConnectWithoutKassaInput | SaleCreateOrConnectWithoutKassaInput[] No
upsert SaleUpsertWithWhereUniqueWithoutKassaInput | SaleUpsertWithWhereUniqueWithoutKassaInput[] No
createMany SaleCreateManyKassaInputEnvelope No
set SaleWhereUniqueInput | SaleWhereUniqueInput[] No
disconnect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
delete SaleWhereUniqueInput | SaleWhereUniqueInput[] No
connect SaleWhereUniqueInput | SaleWhereUniqueInput[] No
update SaleUpdateWithWhereUniqueWithoutKassaInput | SaleUpdateWithWhereUniqueWithoutKassaInput[] No
updateMany SaleUpdateManyWithWhereWithoutKassaInput | SaleUpdateManyWithWhereWithoutKassaInput[] No
deleteMany SaleScalarWhereInput | SaleScalarWhereInput[] No

KassaTransferUncheckedUpdateManyWithoutFrom_kassaNestedInput

Name Type Nullable
create KassaTransferCreateWithoutFrom_kassaInput | KassaTransferCreateWithoutFrom_kassaInput[] | KassaTransferUncheckedCreateWithoutFrom_kassaInput | KassaTransferUncheckedCreateWithoutFrom_kassaInput[] No
connectOrCreate KassaTransferCreateOrConnectWithoutFrom_kassaInput | KassaTransferCreateOrConnectWithoutFrom_kassaInput[] No
upsert KassaTransferUpsertWithWhereUniqueWithoutFrom_kassaInput | KassaTransferUpsertWithWhereUniqueWithoutFrom_kassaInput[] No
createMany KassaTransferCreateManyFrom_kassaInputEnvelope No
set KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
disconnect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
delete KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
connect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
update KassaTransferUpdateWithWhereUniqueWithoutFrom_kassaInput | KassaTransferUpdateWithWhereUniqueWithoutFrom_kassaInput[] No
updateMany KassaTransferUpdateManyWithWhereWithoutFrom_kassaInput | KassaTransferUpdateManyWithWhereWithoutFrom_kassaInput[] No
deleteMany KassaTransferScalarWhereInput | KassaTransferScalarWhereInput[] No

KassaTransferUncheckedUpdateManyWithoutTo_kassaNestedInput

Name Type Nullable
create KassaTransferCreateWithoutTo_kassaInput | KassaTransferCreateWithoutTo_kassaInput[] | KassaTransferUncheckedCreateWithoutTo_kassaInput | KassaTransferUncheckedCreateWithoutTo_kassaInput[] No
connectOrCreate KassaTransferCreateOrConnectWithoutTo_kassaInput | KassaTransferCreateOrConnectWithoutTo_kassaInput[] No
upsert KassaTransferUpsertWithWhereUniqueWithoutTo_kassaInput | KassaTransferUpsertWithWhereUniqueWithoutTo_kassaInput[] No
createMany KassaTransferCreateManyTo_kassaInputEnvelope No
set KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
disconnect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
delete KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
connect KassaTransferWhereUniqueInput | KassaTransferWhereUniqueInput[] No
update KassaTransferUpdateWithWhereUniqueWithoutTo_kassaInput | KassaTransferUpdateWithWhereUniqueWithoutTo_kassaInput[] No
updateMany KassaTransferUpdateManyWithWhereWithoutTo_kassaInput | KassaTransferUpdateManyWithWhereWithoutTo_kassaInput[] No
deleteMany KassaTransferScalarWhereInput | KassaTransferScalarWhereInput[] No

OrganizationCreateNestedOneWithoutKassa_transfersInput

Name Type Nullable
create OrganizationCreateWithoutKassa_transfersInput | OrganizationUncheckedCreateWithoutKassa_transfersInput No
connectOrCreate OrganizationCreateOrConnectWithoutKassa_transfersInput No
connect OrganizationWhereUniqueInput No

KassaCreateNestedOneWithoutOutgoing_transfersInput

Name Type Nullable
create KassaCreateWithoutOutgoing_transfersInput | KassaUncheckedCreateWithoutOutgoing_transfersInput No
connectOrCreate KassaCreateOrConnectWithoutOutgoing_transfersInput No
connect KassaWhereUniqueInput No

KassaCreateNestedOneWithoutIncoming_transfersInput

Name Type Nullable
create KassaCreateWithoutIncoming_transfersInput | KassaUncheckedCreateWithoutIncoming_transfersInput No
connectOrCreate KassaCreateOrConnectWithoutIncoming_transfersInput No
connect KassaWhereUniqueInput No

CurrencyCreateNestedOneWithoutFrom_transfersInput

Name Type Nullable
create CurrencyCreateWithoutFrom_transfersInput | CurrencyUncheckedCreateWithoutFrom_transfersInput No
connectOrCreate CurrencyCreateOrConnectWithoutFrom_transfersInput No
connect CurrencyWhereUniqueInput No

CurrencyCreateNestedOneWithoutTo_transfersInput

Name Type Nullable
create CurrencyCreateWithoutTo_transfersInput | CurrencyUncheckedCreateWithoutTo_transfersInput No
connectOrCreate CurrencyCreateOrConnectWithoutTo_transfersInput No
connect CurrencyWhereUniqueInput No






OrganizationCreateNestedOneWithoutPaymentsInput

Name Type Nullable
create OrganizationCreateWithoutPaymentsInput | OrganizationUncheckedCreateWithoutPaymentsInput No
connectOrCreate OrganizationCreateOrConnectWithoutPaymentsInput No
connect OrganizationWhereUniqueInput No

UserCreateNestedOneWithoutPaymentsInput

Name Type Nullable
create UserCreateWithoutPaymentsInput | UserUncheckedCreateWithoutPaymentsInput No
connectOrCreate UserCreateOrConnectWithoutPaymentsInput No
connect UserWhereUniqueInput No


KassaCreateNestedOneWithoutPaymentsInput

Name Type Nullable
create KassaCreateWithoutPaymentsInput | KassaUncheckedCreateWithoutPaymentsInput No
connectOrCreate KassaCreateOrConnectWithoutPaymentsInput No
connect KassaWhereUniqueInput No

CurrencyCreateNestedOneWithoutPaymentsInput

Name Type Nullable
create CurrencyCreateWithoutPaymentsInput | CurrencyUncheckedCreateWithoutPaymentsInput No
connectOrCreate CurrencyCreateOrConnectWithoutPaymentsInput No
connect CurrencyWhereUniqueInput No

PurchaseCreateNestedOneWithoutPaymentsInput

Name Type Nullable
create PurchaseCreateWithoutPaymentsInput | PurchaseUncheckedCreateWithoutPaymentsInput No
connectOrCreate PurchaseCreateOrConnectWithoutPaymentsInput No
connect PurchaseWhereUniqueInput No

SaleCreateNestedOneWithoutPaymentsInput

Name Type Nullable
create SaleCreateWithoutPaymentsInput | SaleUncheckedCreateWithoutPaymentsInput No
connectOrCreate SaleCreateOrConnectWithoutPaymentsInput No
connect SaleWhereUniqueInput No



EnumPaymentTypeFieldUpdateOperationsInput

Name Type Nullable
set PaymentType No








InstallmentPaymentUpdateManyWithoutPaymentNestedInput

Name Type Nullable
create InstallmentPaymentCreateWithoutPaymentInput | InstallmentPaymentCreateWithoutPaymentInput[] | InstallmentPaymentUncheckedCreateWithoutPaymentInput | InstallmentPaymentUncheckedCreateWithoutPaymentInput[] No
connectOrCreate InstallmentPaymentCreateOrConnectWithoutPaymentInput | InstallmentPaymentCreateOrConnectWithoutPaymentInput[] No
upsert InstallmentPaymentUpsertWithWhereUniqueWithoutPaymentInput | InstallmentPaymentUpsertWithWhereUniqueWithoutPaymentInput[] No
createMany InstallmentPaymentCreateManyPaymentInputEnvelope No
set InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
disconnect InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
delete InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
connect InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
update InstallmentPaymentUpdateWithWhereUniqueWithoutPaymentInput | InstallmentPaymentUpdateWithWhereUniqueWithoutPaymentInput[] No
updateMany InstallmentPaymentUpdateManyWithWhereWithoutPaymentInput | InstallmentPaymentUpdateManyWithWhereWithoutPaymentInput[] No
deleteMany InstallmentPaymentScalarWhereInput | InstallmentPaymentScalarWhereInput[] No

InstallmentPaymentUncheckedUpdateManyWithoutPaymentNestedInput

Name Type Nullable
create InstallmentPaymentCreateWithoutPaymentInput | InstallmentPaymentCreateWithoutPaymentInput[] | InstallmentPaymentUncheckedCreateWithoutPaymentInput | InstallmentPaymentUncheckedCreateWithoutPaymentInput[] No
connectOrCreate InstallmentPaymentCreateOrConnectWithoutPaymentInput | InstallmentPaymentCreateOrConnectWithoutPaymentInput[] No
upsert InstallmentPaymentUpsertWithWhereUniqueWithoutPaymentInput | InstallmentPaymentUpsertWithWhereUniqueWithoutPaymentInput[] No
createMany InstallmentPaymentCreateManyPaymentInputEnvelope No
set InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
disconnect InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
delete InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
connect InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
update InstallmentPaymentUpdateWithWhereUniqueWithoutPaymentInput | InstallmentPaymentUpdateWithWhereUniqueWithoutPaymentInput[] No
updateMany InstallmentPaymentUpdateManyWithWhereWithoutPaymentInput | InstallmentPaymentUpdateManyWithWhereWithoutPaymentInput[] No
deleteMany InstallmentPaymentScalarWhereInput | InstallmentPaymentScalarWhereInput[] No

OrganizationCreateNestedOneWithoutTransactionsInput

Name Type Nullable
create OrganizationCreateWithoutTransactionsInput | OrganizationUncheckedCreateWithoutTransactionsInput No
connectOrCreate OrganizationCreateOrConnectWithoutTransactionsInput No
connect OrganizationWhereUniqueInput No


CurrencyCreateNestedOneWithoutTransactionsInput

Name Type Nullable
create CurrencyCreateWithoutTransactionsInput | CurrencyUncheckedCreateWithoutTransactionsInput No
connectOrCreate CurrencyCreateOrConnectWithoutTransactionsInput No
connect CurrencyWhereUniqueInput No

EnumRelatedTypeFieldUpdateOperationsInput

Name Type Nullable
set RelatedType No




OrganizationCreateNestedOneWithoutSalesInput

Name Type Nullable
create OrganizationCreateWithoutSalesInput | OrganizationUncheckedCreateWithoutSalesInput No
connectOrCreate OrganizationCreateOrConnectWithoutSalesInput No
connect OrganizationWhereUniqueInput No


UserCreateNestedOneWithoutSalesInput

Name Type Nullable
create UserCreateWithoutSalesInput | UserUncheckedCreateWithoutSalesInput No
connectOrCreate UserCreateOrConnectWithoutSalesInput No
connect UserWhereUniqueInput No

CurrencyCreateNestedOneWithoutSalesInput

Name Type Nullable
create CurrencyCreateWithoutSalesInput | CurrencyUncheckedCreateWithoutSalesInput No
connectOrCreate CurrencyCreateOrConnectWithoutSalesInput No
connect CurrencyWhereUniqueInput No

KassaCreateNestedOneWithoutSalesInput

Name Type Nullable
create KassaCreateWithoutSalesInput | KassaUncheckedCreateWithoutSalesInput No
connectOrCreate KassaCreateOrConnectWithoutSalesInput No
connect KassaWhereUniqueInput No









EnumSaleStatusFieldUpdateOperationsInput

Name Type Nullable
set SaleStatus No






SaleItemUpdateManyWithoutSaleNestedInput

Name Type Nullable
create SaleItemCreateWithoutSaleInput | SaleItemCreateWithoutSaleInput[] | SaleItemUncheckedCreateWithoutSaleInput | SaleItemUncheckedCreateWithoutSaleInput[] No
connectOrCreate SaleItemCreateOrConnectWithoutSaleInput | SaleItemCreateOrConnectWithoutSaleInput[] No
upsert SaleItemUpsertWithWhereUniqueWithoutSaleInput | SaleItemUpsertWithWhereUniqueWithoutSaleInput[] No
createMany SaleItemCreateManySaleInputEnvelope No
set SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
disconnect SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
delete SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
connect SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
update SaleItemUpdateWithWhereUniqueWithoutSaleInput | SaleItemUpdateWithWhereUniqueWithoutSaleInput[] No
updateMany SaleItemUpdateManyWithWhereWithoutSaleInput | SaleItemUpdateManyWithWhereWithoutSaleInput[] No
deleteMany SaleItemScalarWhereInput | SaleItemScalarWhereInput[] No

PaymentUpdateManyWithoutSaleNestedInput

Name Type Nullable
create PaymentCreateWithoutSaleInput | PaymentCreateWithoutSaleInput[] | PaymentUncheckedCreateWithoutSaleInput | PaymentUncheckedCreateWithoutSaleInput[] No
connectOrCreate PaymentCreateOrConnectWithoutSaleInput | PaymentCreateOrConnectWithoutSaleInput[] No
upsert PaymentUpsertWithWhereUniqueWithoutSaleInput | PaymentUpsertWithWhereUniqueWithoutSaleInput[] No
createMany PaymentCreateManySaleInputEnvelope No
set PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
disconnect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
delete PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
connect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
update PaymentUpdateWithWhereUniqueWithoutSaleInput | PaymentUpdateWithWhereUniqueWithoutSaleInput[] No
updateMany PaymentUpdateManyWithWhereWithoutSaleInput | PaymentUpdateManyWithWhereWithoutSaleInput[] No
deleteMany PaymentScalarWhereInput | PaymentScalarWhereInput[] No

InstallmentUpdateManyWithoutSaleNestedInput

Name Type Nullable
create InstallmentCreateWithoutSaleInput | InstallmentCreateWithoutSaleInput[] | InstallmentUncheckedCreateWithoutSaleInput | InstallmentUncheckedCreateWithoutSaleInput[] No
connectOrCreate InstallmentCreateOrConnectWithoutSaleInput | InstallmentCreateOrConnectWithoutSaleInput[] No
upsert InstallmentUpsertWithWhereUniqueWithoutSaleInput | InstallmentUpsertWithWhereUniqueWithoutSaleInput[] No
createMany InstallmentCreateManySaleInputEnvelope No
set InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] No
disconnect InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] No
delete InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] No
connect InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] No
update InstallmentUpdateWithWhereUniqueWithoutSaleInput | InstallmentUpdateWithWhereUniqueWithoutSaleInput[] No
updateMany InstallmentUpdateManyWithWhereWithoutSaleInput | InstallmentUpdateManyWithWhereWithoutSaleInput[] No
deleteMany InstallmentScalarWhereInput | InstallmentScalarWhereInput[] No

DocumentUpdateManyWithoutSaleNestedInput

Name Type Nullable
create DocumentCreateWithoutSaleInput | DocumentCreateWithoutSaleInput[] | DocumentUncheckedCreateWithoutSaleInput | DocumentUncheckedCreateWithoutSaleInput[] No
connectOrCreate DocumentCreateOrConnectWithoutSaleInput | DocumentCreateOrConnectWithoutSaleInput[] No
upsert DocumentUpsertWithWhereUniqueWithoutSaleInput | DocumentUpsertWithWhereUniqueWithoutSaleInput[] No
createMany DocumentCreateManySaleInputEnvelope No
set DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
disconnect DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
delete DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
connect DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
update DocumentUpdateWithWhereUniqueWithoutSaleInput | DocumentUpdateWithWhereUniqueWithoutSaleInput[] No
updateMany DocumentUpdateManyWithWhereWithoutSaleInput | DocumentUpdateManyWithWhereWithoutSaleInput[] No
deleteMany DocumentScalarWhereInput | DocumentScalarWhereInput[] No

SaleItemUncheckedUpdateManyWithoutSaleNestedInput

Name Type Nullable
create SaleItemCreateWithoutSaleInput | SaleItemCreateWithoutSaleInput[] | SaleItemUncheckedCreateWithoutSaleInput | SaleItemUncheckedCreateWithoutSaleInput[] No
connectOrCreate SaleItemCreateOrConnectWithoutSaleInput | SaleItemCreateOrConnectWithoutSaleInput[] No
upsert SaleItemUpsertWithWhereUniqueWithoutSaleInput | SaleItemUpsertWithWhereUniqueWithoutSaleInput[] No
createMany SaleItemCreateManySaleInputEnvelope No
set SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
disconnect SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
delete SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
connect SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] No
update SaleItemUpdateWithWhereUniqueWithoutSaleInput | SaleItemUpdateWithWhereUniqueWithoutSaleInput[] No
updateMany SaleItemUpdateManyWithWhereWithoutSaleInput | SaleItemUpdateManyWithWhereWithoutSaleInput[] No
deleteMany SaleItemScalarWhereInput | SaleItemScalarWhereInput[] No

PaymentUncheckedUpdateManyWithoutSaleNestedInput

Name Type Nullable
create PaymentCreateWithoutSaleInput | PaymentCreateWithoutSaleInput[] | PaymentUncheckedCreateWithoutSaleInput | PaymentUncheckedCreateWithoutSaleInput[] No
connectOrCreate PaymentCreateOrConnectWithoutSaleInput | PaymentCreateOrConnectWithoutSaleInput[] No
upsert PaymentUpsertWithWhereUniqueWithoutSaleInput | PaymentUpsertWithWhereUniqueWithoutSaleInput[] No
createMany PaymentCreateManySaleInputEnvelope No
set PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
disconnect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
delete PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
connect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
update PaymentUpdateWithWhereUniqueWithoutSaleInput | PaymentUpdateWithWhereUniqueWithoutSaleInput[] No
updateMany PaymentUpdateManyWithWhereWithoutSaleInput | PaymentUpdateManyWithWhereWithoutSaleInput[] No
deleteMany PaymentScalarWhereInput | PaymentScalarWhereInput[] No

InstallmentUncheckedUpdateManyWithoutSaleNestedInput

Name Type Nullable
create InstallmentCreateWithoutSaleInput | InstallmentCreateWithoutSaleInput[] | InstallmentUncheckedCreateWithoutSaleInput | InstallmentUncheckedCreateWithoutSaleInput[] No
connectOrCreate InstallmentCreateOrConnectWithoutSaleInput | InstallmentCreateOrConnectWithoutSaleInput[] No
upsert InstallmentUpsertWithWhereUniqueWithoutSaleInput | InstallmentUpsertWithWhereUniqueWithoutSaleInput[] No
createMany InstallmentCreateManySaleInputEnvelope No
set InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] No
disconnect InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] No
delete InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] No
connect InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] No
update InstallmentUpdateWithWhereUniqueWithoutSaleInput | InstallmentUpdateWithWhereUniqueWithoutSaleInput[] No
updateMany InstallmentUpdateManyWithWhereWithoutSaleInput | InstallmentUpdateManyWithWhereWithoutSaleInput[] No
deleteMany InstallmentScalarWhereInput | InstallmentScalarWhereInput[] No

DocumentUncheckedUpdateManyWithoutSaleNestedInput

Name Type Nullable
create DocumentCreateWithoutSaleInput | DocumentCreateWithoutSaleInput[] | DocumentUncheckedCreateWithoutSaleInput | DocumentUncheckedCreateWithoutSaleInput[] No
connectOrCreate DocumentCreateOrConnectWithoutSaleInput | DocumentCreateOrConnectWithoutSaleInput[] No
upsert DocumentUpsertWithWhereUniqueWithoutSaleInput | DocumentUpsertWithWhereUniqueWithoutSaleInput[] No
createMany DocumentCreateManySaleInputEnvelope No
set DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
disconnect DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
delete DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
connect DocumentWhereUniqueInput | DocumentWhereUniqueInput[] No
update DocumentUpdateWithWhereUniqueWithoutSaleInput | DocumentUpdateWithWhereUniqueWithoutSaleInput[] No
updateMany DocumentUpdateManyWithWhereWithoutSaleInput | DocumentUpdateManyWithWhereWithoutSaleInput[] No
deleteMany DocumentScalarWhereInput | DocumentScalarWhereInput[] No

SaleCreateNestedOneWithoutItemsInput

Name Type Nullable
create SaleCreateWithoutItemsInput | SaleUncheckedCreateWithoutItemsInput No
connectOrCreate SaleCreateOrConnectWithoutItemsInput No
connect SaleWhereUniqueInput No

ProductVariantCreateNestedOneWithoutSele_itemsInput

Name Type Nullable
create ProductVariantCreateWithoutSele_itemsInput | ProductVariantUncheckedCreateWithoutSele_itemsInput No
connectOrCreate ProductVariantCreateOrConnectWithoutSele_itemsInput No
connect ProductVariantWhereUniqueInput No

CurrencyCreateNestedOneWithoutSale_itemsInput

Name Type Nullable
create CurrencyCreateWithoutSale_itemsInput | CurrencyUncheckedCreateWithoutSale_itemsInput No
connectOrCreate CurrencyCreateOrConnectWithoutSale_itemsInput No
connect CurrencyWhereUniqueInput No




OrganizationCreateNestedOneWithoutPurchasesInput

Name Type Nullable
create OrganizationCreateWithoutPurchasesInput | OrganizationUncheckedCreateWithoutPurchasesInput No
connectOrCreate OrganizationCreateOrConnectWithoutPurchasesInput No
connect OrganizationWhereUniqueInput No


UserCreateNestedOneWithoutPurchasesInput

Name Type Nullable
create UserCreateWithoutPurchasesInput | UserUncheckedCreateWithoutPurchasesInput No
connectOrCreate UserCreateOrConnectWithoutPurchasesInput No
connect UserWhereUniqueInput No

CurrencyCreateNestedOneWithoutPurchasesInput

Name Type Nullable
create CurrencyCreateWithoutPurchasesInput | CurrencyUncheckedCreateWithoutPurchasesInput No
connectOrCreate CurrencyCreateOrConnectWithoutPurchasesInput No
connect CurrencyWhereUniqueInput No

KassaCreateNestedOneWithoutPurchasesInput

Name Type Nullable
create KassaCreateWithoutPurchasesInput | KassaUncheckedCreateWithoutPurchasesInput No
connectOrCreate KassaCreateOrConnectWithoutPurchasesInput No
connect KassaWhereUniqueInput No





EnumPurchaseStatusFieldUpdateOperationsInput

Name Type Nullable
set PurchaseStatus No






PurchaseItemUpdateManyWithoutPurchaseNestedInput

Name Type Nullable
create PurchaseItemCreateWithoutPurchaseInput | PurchaseItemCreateWithoutPurchaseInput[] | PurchaseItemUncheckedCreateWithoutPurchaseInput | PurchaseItemUncheckedCreateWithoutPurchaseInput[] No
connectOrCreate PurchaseItemCreateOrConnectWithoutPurchaseInput | PurchaseItemCreateOrConnectWithoutPurchaseInput[] No
upsert PurchaseItemUpsertWithWhereUniqueWithoutPurchaseInput | PurchaseItemUpsertWithWhereUniqueWithoutPurchaseInput[] No
createMany PurchaseItemCreateManyPurchaseInputEnvelope No
set PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] No
disconnect PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] No
delete PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] No
connect PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] No
update PurchaseItemUpdateWithWhereUniqueWithoutPurchaseInput | PurchaseItemUpdateWithWhereUniqueWithoutPurchaseInput[] No
updateMany PurchaseItemUpdateManyWithWhereWithoutPurchaseInput | PurchaseItemUpdateManyWithWhereWithoutPurchaseInput[] No
deleteMany PurchaseItemScalarWhereInput | PurchaseItemScalarWhereInput[] No

PaymentUpdateManyWithoutPurchaseNestedInput

Name Type Nullable
create PaymentCreateWithoutPurchaseInput | PaymentCreateWithoutPurchaseInput[] | PaymentUncheckedCreateWithoutPurchaseInput | PaymentUncheckedCreateWithoutPurchaseInput[] No
connectOrCreate PaymentCreateOrConnectWithoutPurchaseInput | PaymentCreateOrConnectWithoutPurchaseInput[] No
upsert PaymentUpsertWithWhereUniqueWithoutPurchaseInput | PaymentUpsertWithWhereUniqueWithoutPurchaseInput[] No
createMany PaymentCreateManyPurchaseInputEnvelope No
set PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
disconnect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
delete PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
connect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
update PaymentUpdateWithWhereUniqueWithoutPurchaseInput | PaymentUpdateWithWhereUniqueWithoutPurchaseInput[] No
updateMany PaymentUpdateManyWithWhereWithoutPurchaseInput | PaymentUpdateManyWithWhereWithoutPurchaseInput[] No
deleteMany PaymentScalarWhereInput | PaymentScalarWhereInput[] No

PurchaseItemUncheckedUpdateManyWithoutPurchaseNestedInput

Name Type Nullable
create PurchaseItemCreateWithoutPurchaseInput | PurchaseItemCreateWithoutPurchaseInput[] | PurchaseItemUncheckedCreateWithoutPurchaseInput | PurchaseItemUncheckedCreateWithoutPurchaseInput[] No
connectOrCreate PurchaseItemCreateOrConnectWithoutPurchaseInput | PurchaseItemCreateOrConnectWithoutPurchaseInput[] No
upsert PurchaseItemUpsertWithWhereUniqueWithoutPurchaseInput | PurchaseItemUpsertWithWhereUniqueWithoutPurchaseInput[] No
createMany PurchaseItemCreateManyPurchaseInputEnvelope No
set PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] No
disconnect PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] No
delete PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] No
connect PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] No
update PurchaseItemUpdateWithWhereUniqueWithoutPurchaseInput | PurchaseItemUpdateWithWhereUniqueWithoutPurchaseInput[] No
updateMany PurchaseItemUpdateManyWithWhereWithoutPurchaseInput | PurchaseItemUpdateManyWithWhereWithoutPurchaseInput[] No
deleteMany PurchaseItemScalarWhereInput | PurchaseItemScalarWhereInput[] No

PaymentUncheckedUpdateManyWithoutPurchaseNestedInput

Name Type Nullable
create PaymentCreateWithoutPurchaseInput | PaymentCreateWithoutPurchaseInput[] | PaymentUncheckedCreateWithoutPurchaseInput | PaymentUncheckedCreateWithoutPurchaseInput[] No
connectOrCreate PaymentCreateOrConnectWithoutPurchaseInput | PaymentCreateOrConnectWithoutPurchaseInput[] No
upsert PaymentUpsertWithWhereUniqueWithoutPurchaseInput | PaymentUpsertWithWhereUniqueWithoutPurchaseInput[] No
createMany PaymentCreateManyPurchaseInputEnvelope No
set PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
disconnect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
delete PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
connect PaymentWhereUniqueInput | PaymentWhereUniqueInput[] No
update PaymentUpdateWithWhereUniqueWithoutPurchaseInput | PaymentUpdateWithWhereUniqueWithoutPurchaseInput[] No
updateMany PaymentUpdateManyWithWhereWithoutPurchaseInput | PaymentUpdateManyWithWhereWithoutPurchaseInput[] No
deleteMany PaymentScalarWhereInput | PaymentScalarWhereInput[] No

PurchaseCreateNestedOneWithoutItemsInput

Name Type Nullable
create PurchaseCreateWithoutItemsInput | PurchaseUncheckedCreateWithoutItemsInput No
connectOrCreate PurchaseCreateOrConnectWithoutItemsInput No
connect PurchaseWhereUniqueInput No




SaleCreateNestedOneWithoutInstallmentsInput

Name Type Nullable
create SaleCreateWithoutInstallmentsInput | SaleUncheckedCreateWithoutInstallmentsInput No
connectOrCreate SaleCreateOrConnectWithoutInstallmentsInput No
connect SaleWhereUniqueInput No




EnumInstallmentStatusFieldUpdateOperationsInput

Name Type Nullable
set InstallmentStatus No



InstallmentPaymentUpdateManyWithoutInstallmentNestedInput

Name Type Nullable
create InstallmentPaymentCreateWithoutInstallmentInput | InstallmentPaymentCreateWithoutInstallmentInput[] | InstallmentPaymentUncheckedCreateWithoutInstallmentInput | InstallmentPaymentUncheckedCreateWithoutInstallmentInput[] No
connectOrCreate InstallmentPaymentCreateOrConnectWithoutInstallmentInput | InstallmentPaymentCreateOrConnectWithoutInstallmentInput[] No
upsert InstallmentPaymentUpsertWithWhereUniqueWithoutInstallmentInput | InstallmentPaymentUpsertWithWhereUniqueWithoutInstallmentInput[] No
createMany InstallmentPaymentCreateManyInstallmentInputEnvelope No
set InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
disconnect InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
delete InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
connect InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
update InstallmentPaymentUpdateWithWhereUniqueWithoutInstallmentInput | InstallmentPaymentUpdateWithWhereUniqueWithoutInstallmentInput[] No
updateMany InstallmentPaymentUpdateManyWithWhereWithoutInstallmentInput | InstallmentPaymentUpdateManyWithWhereWithoutInstallmentInput[] No
deleteMany InstallmentPaymentScalarWhereInput | InstallmentPaymentScalarWhereInput[] No

InstallmentPaymentUncheckedUpdateManyWithoutInstallmentNestedInput

Name Type Nullable
create InstallmentPaymentCreateWithoutInstallmentInput | InstallmentPaymentCreateWithoutInstallmentInput[] | InstallmentPaymentUncheckedCreateWithoutInstallmentInput | InstallmentPaymentUncheckedCreateWithoutInstallmentInput[] No
connectOrCreate InstallmentPaymentCreateOrConnectWithoutInstallmentInput | InstallmentPaymentCreateOrConnectWithoutInstallmentInput[] No
upsert InstallmentPaymentUpsertWithWhereUniqueWithoutInstallmentInput | InstallmentPaymentUpsertWithWhereUniqueWithoutInstallmentInput[] No
createMany InstallmentPaymentCreateManyInstallmentInputEnvelope No
set InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
disconnect InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
delete InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
connect InstallmentPaymentWhereUniqueInput | InstallmentPaymentWhereUniqueInput[] No
update InstallmentPaymentUpdateWithWhereUniqueWithoutInstallmentInput | InstallmentPaymentUpdateWithWhereUniqueWithoutInstallmentInput[] No
updateMany InstallmentPaymentUpdateManyWithWhereWithoutInstallmentInput | InstallmentPaymentUpdateManyWithWhereWithoutInstallmentInput[] No
deleteMany InstallmentPaymentScalarWhereInput | InstallmentPaymentScalarWhereInput[] No

InstallmentCreateNestedOneWithoutPaymentsInput

Name Type Nullable
create InstallmentCreateWithoutPaymentsInput | InstallmentUncheckedCreateWithoutPaymentsInput No
connectOrCreate InstallmentCreateOrConnectWithoutPaymentsInput No
connect InstallmentWhereUniqueInput No

UserCreateNestedOneWithoutInstallment_paymentsInput

Name Type Nullable
create UserCreateWithoutInstallment_paymentsInput | UserUncheckedCreateWithoutInstallment_paymentsInput No
connectOrCreate UserCreateOrConnectWithoutInstallment_paymentsInput No
connect UserWhereUniqueInput No

PaymentCreateNestedOneWithoutInstallment_paymentsInput

Name Type Nullable
create PaymentCreateWithoutInstallment_paymentsInput | PaymentUncheckedCreateWithoutInstallment_paymentsInput No
connectOrCreate PaymentCreateOrConnectWithoutInstallment_paymentsInput No
connect PaymentWhereUniqueInput No




UserCreateNestedOneWithoutDocumentsInput

Name Type Nullable
create UserCreateWithoutDocumentsInput | UserUncheckedCreateWithoutDocumentsInput No
connectOrCreate UserCreateOrConnectWithoutDocumentsInput No
connect UserWhereUniqueInput No

OrganizationCreateNestedOneWithoutDocumentsInput

Name Type Nullable
create OrganizationCreateWithoutDocumentsInput | OrganizationUncheckedCreateWithoutDocumentsInput No
connectOrCreate OrganizationCreateOrConnectWithoutDocumentsInput No
connect OrganizationWhereUniqueInput No


SaleCreateNestedOneWithoutDocumentsInput

Name Type Nullable
create SaleCreateWithoutDocumentsInput | SaleUncheckedCreateWithoutDocumentsInput No
connectOrCreate SaleCreateOrConnectWithoutDocumentsInput No
connect SaleWhereUniqueInput No

EnumDocumentTypeFieldUpdateOperationsInput

Name Type Nullable
set DocumentType No





OrganizationCreateNestedOneWithoutSettingsInput

Name Type Nullable
create OrganizationCreateWithoutSettingsInput | OrganizationUncheckedCreateWithoutSettingsInput No
connectOrCreate OrganizationCreateOrConnectWithoutSettingsInput No
connect OrganizationWhereUniqueInput No

CurrencyCreateNestedOneWithoutSettingsInput

Name Type Nullable
create CurrencyCreateWithoutSettingsInput | CurrencyUncheckedCreateWithoutSettingsInput No
connectOrCreate CurrencyCreateOrConnectWithoutSettingsInput No
connect CurrencyWhereUniqueInput No

EnumThemeTypeFieldUpdateOperationsInput

Name Type Nullable
set ThemeType No



OrganizationCreateNestedOneWithoutAudit_logsInput

Name Type Nullable
create OrganizationCreateWithoutAudit_logsInput | OrganizationUncheckedCreateWithoutAudit_logsInput No
connectOrCreate OrganizationCreateOrConnectWithoutAudit_logsInput No
connect OrganizationWhereUniqueInput No

UserCreateNestedOneWithoutAudit_logsInput

Name Type Nullable
create UserCreateWithoutAudit_logsInput | UserUncheckedCreateWithoutAudit_logsInput No
connectOrCreate UserCreateOrConnectWithoutAudit_logsInput No
connect UserWhereUniqueInput No



NestedStringFilter

Name Type Nullable
equals String | StringFieldRefInput No
in String | ListStringFieldRefInput No
notIn String | ListStringFieldRefInput No
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
not String | NestedStringFilter No

NestedDateTimeFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput No
in DateTime | ListDateTimeFieldRefInput No
notIn DateTime | ListDateTimeFieldRefInput No
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeFilter No

NestedStringWithAggregatesFilter

Name Type Nullable
equals String | StringFieldRefInput No
in String | ListStringFieldRefInput No
notIn String | ListStringFieldRefInput No
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
not String | NestedStringWithAggregatesFilter No
_count NestedIntFilter No
_min NestedStringFilter No
_max NestedStringFilter No

NestedIntFilter

Name Type Nullable
equals Int | IntFieldRefInput No
in Int | ListIntFieldRefInput No
notIn Int | ListIntFieldRefInput No
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntFilter No

NestedDateTimeWithAggregatesFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput No
in DateTime | ListDateTimeFieldRefInput No
notIn DateTime | ListDateTimeFieldRefInput No
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeWithAggregatesFilter No
_count NestedIntFilter No
_min NestedDateTimeFilter No
_max NestedDateTimeFilter No



NestedStringNullableFilter

Name Type Nullable
equals String | StringFieldRefInput | Null Yes
in String | ListStringFieldRefInput | Null Yes
notIn String | ListStringFieldRefInput | Null Yes
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
not String | NestedStringNullableFilter | Null Yes

NestedStringNullableWithAggregatesFilter

Name Type Nullable
equals String | StringFieldRefInput | Null Yes
in String | ListStringFieldRefInput | Null Yes
notIn String | ListStringFieldRefInput | Null Yes
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
not String | NestedStringNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedStringNullableFilter No
_max NestedStringNullableFilter No

NestedIntNullableFilter

Name Type Nullable
equals Int | IntFieldRefInput | Null Yes
in Int | ListIntFieldRefInput | Null Yes
notIn Int | ListIntFieldRefInput | Null Yes
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntNullableFilter | Null Yes

NestedBoolFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput No
not Boolean | NestedBoolFilter No

NestedBoolWithAggregatesFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput No
not Boolean | NestedBoolWithAggregatesFilter No
_count NestedIntFilter No
_min NestedBoolFilter No
_max NestedBoolFilter No

NestedDateTimeNullableFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput | Null Yes
in DateTime | ListDateTimeFieldRefInput | Null Yes
notIn DateTime | ListDateTimeFieldRefInput | Null Yes
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeNullableFilter | Null Yes

NestedEnumGenderFilter

Name Type Nullable
equals Gender | EnumGenderFieldRefInput No
in Gender[] | ListEnumGenderFieldRefInput No
notIn Gender[] | ListEnumGenderFieldRefInput No
not Gender | NestedEnumGenderFilter No

NestedDateTimeNullableWithAggregatesFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput | Null Yes
in DateTime | ListDateTimeFieldRefInput | Null Yes
notIn DateTime | ListDateTimeFieldRefInput | Null Yes
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedDateTimeNullableFilter No
_max NestedDateTimeNullableFilter No

NestedEnumGenderWithAggregatesFilter

Name Type Nullable
equals Gender | EnumGenderFieldRefInput No
in Gender[] | ListEnumGenderFieldRefInput No
notIn Gender[] | ListEnumGenderFieldRefInput No
not Gender | NestedEnumGenderWithAggregatesFilter No
_count NestedIntFilter No
_min NestedEnumGenderFilter No
_max NestedEnumGenderFilter No





NestedIntWithAggregatesFilter

Name Type Nullable
equals Int | IntFieldRefInput No
in Int | ListIntFieldRefInput No
notIn Int | ListIntFieldRefInput No
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntWithAggregatesFilter No
_count NestedIntFilter No
_avg NestedFloatFilter No
_sum NestedIntFilter No
_min NestedIntFilter No
_max NestedIntFilter No

NestedFloatFilter

Name Type Nullable
equals Float | FloatFieldRefInput No
in Float | ListFloatFieldRefInput No
notIn Float | ListFloatFieldRefInput No
lt Float | FloatFieldRefInput No
lte Float | FloatFieldRefInput No
gt Float | FloatFieldRefInput No
gte Float | FloatFieldRefInput No
not Float | NestedFloatFilter No

NestedDecimalNullableFilter

Name Type Nullable
equals Decimal | DecimalFieldRefInput | Null Yes
in Decimal[] | ListDecimalFieldRefInput | Null Yes
notIn Decimal[] | ListDecimalFieldRefInput | Null Yes
lt Decimal | DecimalFieldRefInput No
lte Decimal | DecimalFieldRefInput No
gt Decimal | DecimalFieldRefInput No
gte Decimal | DecimalFieldRefInput No
not Decimal | NestedDecimalNullableFilter | Null Yes



NestedEnumCustomerTypeNullableFilter

Name Type Nullable
equals CustomerType | EnumCustomerTypeFieldRefInput | Null Yes
in CustomerType[] | ListEnumCustomerTypeFieldRefInput | Null Yes
notIn CustomerType[] | ListEnumCustomerTypeFieldRefInput | Null Yes
not CustomerType | NestedEnumCustomerTypeNullableFilter | Null Yes





















NestedJsonNullableFilter

Name Type Nullable
equals Json | JsonFieldRefInput | JsonNullValueFilter No
path String No
mode QueryMode | EnumQueryModeFieldRefInput No
string_contains String | StringFieldRefInput No
string_starts_with String | StringFieldRefInput No
string_ends_with String | StringFieldRefInput No
array_starts_with Json | JsonFieldRefInput | Null Yes
array_ends_with Json | JsonFieldRefInput | Null Yes
array_contains Json | JsonFieldRefInput | Null Yes
lt Json | JsonFieldRefInput No
lte Json | JsonFieldRefInput No
gt Json | JsonFieldRefInput No
gte Json | JsonFieldRefInput No
not Json | JsonFieldRefInput | JsonNullValueFilter No

ProductPriceCreateWithoutCurrencyInput

Name Type Nullable
id String No
priceType PriceType No
amount Decimal No
customerType CustomerType | Null Yes
createdAt DateTime No
updatedAt DateTime No
product ProductCreateNestedOneWithoutPricesInput No
organization OrganizationCreateNestedOneWithoutProduct_pricesInput No

ProductPriceUncheckedCreateWithoutCurrencyInput

Name Type Nullable
id String No
productId String No
organizationId String | Null Yes
priceType PriceType No
amount Decimal No
customerType CustomerType | Null Yes
createdAt DateTime No
updatedAt DateTime No

ProductPriceCreateOrConnectWithoutCurrencyInput

Name Type Nullable
where ProductPriceWhereUniqueInput No
create ProductPriceCreateWithoutCurrencyInput | ProductPriceUncheckedCreateWithoutCurrencyInput No

ProductPriceCreateManyCurrencyInputEnvelope

Name Type Nullable
data ProductPriceCreateManyCurrencyInput | ProductPriceCreateManyCurrencyInput[] No
skipDuplicates Boolean No

KassaCreateWithoutCurrencyInput

Name Type Nullable
id String No
name String No
type String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutKassasInput No
payments PaymentCreateNestedManyWithoutKassaInput No
purchases PurchaseCreateNestedManyWithoutKassaInput No
sales SaleCreateNestedManyWithoutKassaInput No
outgoing_transfers KassaTransferCreateNestedManyWithoutFrom_kassaInput No
incoming_transfers KassaTransferCreateNestedManyWithoutTo_kassaInput No

KassaUncheckedCreateWithoutCurrencyInput

Name Type Nullable
id String No
organizationId String No
name String No
type String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No
payments PaymentUncheckedCreateNestedManyWithoutKassaInput No
purchases PurchaseUncheckedCreateNestedManyWithoutKassaInput No
sales SaleUncheckedCreateNestedManyWithoutKassaInput No
outgoing_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_kassaInput No
incoming_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_kassaInput No

KassaCreateOrConnectWithoutCurrencyInput

Name Type Nullable
where KassaWhereUniqueInput No
create KassaCreateWithoutCurrencyInput | KassaUncheckedCreateWithoutCurrencyInput No

KassaCreateManyCurrencyInputEnvelope

Name Type Nullable
data KassaCreateManyCurrencyInput | KassaCreateManyCurrencyInput[] No
skipDuplicates Boolean No

PaymentCreateWithoutCurrencyInput

Name Type Nullable
id String No
amount Decimal No
type PaymentType No
description String | Null Yes
createdAt DateTime No
organization OrganizationCreateNestedOneWithoutPaymentsInput No
user UserCreateNestedOneWithoutPaymentsInput No
customer OrganizationCustomerCreateNestedOneWithoutPaymentsInput No
kassa KassaCreateNestedOneWithoutPaymentsInput No
purchase PurchaseCreateNestedOneWithoutPaymentsInput No
sale SaleCreateNestedOneWithoutPaymentsInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutPaymentInput No

PaymentUncheckedCreateWithoutCurrencyInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
customerId String | Null Yes
kassaId String No
amount Decimal No
type PaymentType No
description String | Null Yes
purchaseId String | Null Yes
saleId String | Null Yes
createdAt DateTime No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutPaymentInput No

PaymentCreateOrConnectWithoutCurrencyInput

Name Type Nullable
where PaymentWhereUniqueInput No
create PaymentCreateWithoutCurrencyInput | PaymentUncheckedCreateWithoutCurrencyInput No

PaymentCreateManyCurrencyInputEnvelope

Name Type Nullable
data PaymentCreateManyCurrencyInput | PaymentCreateManyCurrencyInput[] No
skipDuplicates Boolean No

TransactionCreateWithoutCurrencyInput

Name Type Nullable
id String No
relatedType RelatedType No
relatedId String No
date DateTime No
debit Decimal No
credit Decimal No
balanceAfter Decimal No
description String | Null Yes
organization OrganizationCreateNestedOneWithoutTransactionsInput No
customer OrganizationCustomerCreateNestedOneWithoutTransactionsInput No

TransactionUncheckedCreateWithoutCurrencyInput

Name Type Nullable
id String No
organizationId String No
customerId String No
relatedType RelatedType No
relatedId String No
date DateTime No
debit Decimal No
credit Decimal No
balanceAfter Decimal No
description String | Null Yes

TransactionCreateOrConnectWithoutCurrencyInput

Name Type Nullable
where TransactionWhereUniqueInput No
create TransactionCreateWithoutCurrencyInput | TransactionUncheckedCreateWithoutCurrencyInput No

TransactionCreateManyCurrencyInputEnvelope

Name Type Nullable
data TransactionCreateManyCurrencyInput | TransactionCreateManyCurrencyInput[] No
skipDuplicates Boolean No

SaleCreateWithoutCurrencyInput

Name Type Nullable
id String No
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutSalesInput No
customer OrganizationCustomerCreateNestedOneWithoutSalesInput No
responsible UserCreateNestedOneWithoutSalesInput No
kassa KassaCreateNestedOneWithoutSalesInput No
items SaleItemCreateNestedManyWithoutSaleInput No
payments PaymentCreateNestedManyWithoutSaleInput No
installments InstallmentCreateNestedManyWithoutSaleInput No
documents DocumentCreateNestedManyWithoutSaleInput No

SaleUncheckedCreateWithoutCurrencyInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
responsibleId String No
kassaId String | Null Yes
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
items SaleItemUncheckedCreateNestedManyWithoutSaleInput No
payments PaymentUncheckedCreateNestedManyWithoutSaleInput No
installments InstallmentUncheckedCreateNestedManyWithoutSaleInput No
documents DocumentUncheckedCreateNestedManyWithoutSaleInput No

SaleCreateOrConnectWithoutCurrencyInput

Name Type Nullable
where SaleWhereUniqueInput No
create SaleCreateWithoutCurrencyInput | SaleUncheckedCreateWithoutCurrencyInput No

SaleCreateManyCurrencyInputEnvelope

Name Type Nullable
data SaleCreateManyCurrencyInput | SaleCreateManyCurrencyInput[] No
skipDuplicates Boolean No

SaleItemCreateWithoutCurrencyInput

Name Type Nullable
id String No
quantity Int No
price Decimal No
total Decimal No
sale SaleCreateNestedOneWithoutItemsInput No
product_variant ProductVariantCreateNestedOneWithoutSele_itemsInput No

SaleItemUncheckedCreateWithoutCurrencyInput

Name Type Nullable
id String No
saleId String No
productVariantId String No
quantity Int No
price Decimal No
total Decimal No

SaleItemCreateOrConnectWithoutCurrencyInput

Name Type Nullable
where SaleItemWhereUniqueInput No
create SaleItemCreateWithoutCurrencyInput | SaleItemUncheckedCreateWithoutCurrencyInput No

SaleItemCreateManyCurrencyInputEnvelope

Name Type Nullable
data SaleItemCreateManyCurrencyInput | SaleItemCreateManyCurrencyInput[] No
skipDuplicates Boolean No

PurchaseCreateWithoutCurrencyInput

Name Type Nullable
id String No
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutPurchasesInput No
supplier OrganizationCustomerCreateNestedOneWithoutPurchasesInput No
responsible UserCreateNestedOneWithoutPurchasesInput No
kassa KassaCreateNestedOneWithoutPurchasesInput No
items PurchaseItemCreateNestedManyWithoutPurchaseInput No
payments PaymentCreateNestedManyWithoutPurchaseInput No

PurchaseUncheckedCreateWithoutCurrencyInput

Name Type Nullable
id String No
organizationId String No
supplierId String No
responsibleId String | Null Yes
kassaId String | Null Yes
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
items PurchaseItemUncheckedCreateNestedManyWithoutPurchaseInput No
payments PaymentUncheckedCreateNestedManyWithoutPurchaseInput No

PurchaseCreateOrConnectWithoutCurrencyInput

Name Type Nullable
where PurchaseWhereUniqueInput No
create PurchaseCreateWithoutCurrencyInput | PurchaseUncheckedCreateWithoutCurrencyInput No

PurchaseCreateManyCurrencyInputEnvelope

Name Type Nullable
data PurchaseCreateManyCurrencyInput | PurchaseCreateManyCurrencyInput[] No
skipDuplicates Boolean No

KassaTransferCreateWithoutFrom_currencyInput

Name Type Nullable
id String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No
organization OrganizationCreateNestedOneWithoutKassa_transfersInput No
from_kassa KassaCreateNestedOneWithoutOutgoing_transfersInput No
to_kassa KassaCreateNestedOneWithoutIncoming_transfersInput No
to_currency CurrencyCreateNestedOneWithoutTo_transfersInput No

KassaTransferUncheckedCreateWithoutFrom_currencyInput

Name Type Nullable
id String No
organizationId String No
fromKassaId String No
toKassaId String No
toCurrencyId String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No

KassaTransferCreateOrConnectWithoutFrom_currencyInput

Name Type Nullable
where KassaTransferWhereUniqueInput No
create KassaTransferCreateWithoutFrom_currencyInput | KassaTransferUncheckedCreateWithoutFrom_currencyInput No

KassaTransferCreateManyFrom_currencyInputEnvelope

Name Type Nullable
data KassaTransferCreateManyFrom_currencyInput | KassaTransferCreateManyFrom_currencyInput[] No
skipDuplicates Boolean No

KassaTransferCreateWithoutTo_currencyInput

Name Type Nullable
id String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No
organization OrganizationCreateNestedOneWithoutKassa_transfersInput No
from_kassa KassaCreateNestedOneWithoutOutgoing_transfersInput No
to_kassa KassaCreateNestedOneWithoutIncoming_transfersInput No
from_currency CurrencyCreateNestedOneWithoutFrom_transfersInput No

KassaTransferUncheckedCreateWithoutTo_currencyInput

Name Type Nullable
id String No
organizationId String No
fromKassaId String No
toKassaId String No
fromCurrencyId String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No

KassaTransferCreateOrConnectWithoutTo_currencyInput

Name Type Nullable
where KassaTransferWhereUniqueInput No
create KassaTransferCreateWithoutTo_currencyInput | KassaTransferUncheckedCreateWithoutTo_currencyInput No

KassaTransferCreateManyTo_currencyInputEnvelope

Name Type Nullable
data KassaTransferCreateManyTo_currencyInput | KassaTransferCreateManyTo_currencyInput[] No
skipDuplicates Boolean No

SettingsCreateWithoutBaseCurrencyInput

Name Type Nullable
id String No
language String | Null Yes
dateFormat String | Null Yes
enableInstallment Boolean No
enableNotifications Boolean No
enableAutoRateUpdate Boolean No
taxPercent Decimal | Null Yes
logoUrl String | Null Yes
theme ThemeType No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutSettingsInput No

SettingsUncheckedCreateWithoutBaseCurrencyInput

Name Type Nullable
id String No
organizationId String No
language String | Null Yes
dateFormat String | Null Yes
enableInstallment Boolean No
enableNotifications Boolean No
enableAutoRateUpdate Boolean No
taxPercent Decimal | Null Yes
logoUrl String | Null Yes
theme ThemeType No
createdAt DateTime No
updatedAt DateTime No

SettingsCreateOrConnectWithoutBaseCurrencyInput

Name Type Nullable
where SettingsWhereUniqueInput No
create SettingsCreateWithoutBaseCurrencyInput | SettingsUncheckedCreateWithoutBaseCurrencyInput No

SettingsCreateManyBaseCurrencyInputEnvelope

Name Type Nullable
data SettingsCreateManyBaseCurrencyInput | SettingsCreateManyBaseCurrencyInput[] No
skipDuplicates Boolean No

ProductVariantCreateWithoutCurrencyInput

Name Type Nullable
id String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
createdAt DateTime No
updatedAt DateTime No
product ProductCreateNestedOneWithoutVariantsInput No
product_instance ProductInstanceCreateNestedManyWithoutProductVariantInput No
product_variant_attribute ProductVariantAttributeCreateNestedManyWithoutVariantInput No
product_batches ProductBatchCreateNestedManyWithoutProduct_variantInput No
stocks StockCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemCreateNestedManyWithoutProduct_variantInput No
images ProductImageCreateNestedManyWithoutProductVariantInput No

ProductVariantUncheckedCreateWithoutCurrencyInput

Name Type Nullable
id String No
productId String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
createdAt DateTime No
updatedAt DateTime No
product_instance ProductInstanceUncheckedCreateNestedManyWithoutProductVariantInput No
product_variant_attribute ProductVariantAttributeUncheckedCreateNestedManyWithoutVariantInput No
product_batches ProductBatchUncheckedCreateNestedManyWithoutProduct_variantInput No
stocks StockUncheckedCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemUncheckedCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemUncheckedCreateNestedManyWithoutProduct_variantInput No
images ProductImageUncheckedCreateNestedManyWithoutProductVariantInput No

ProductVariantCreateOrConnectWithoutCurrencyInput

Name Type Nullable
where ProductVariantWhereUniqueInput No
create ProductVariantCreateWithoutCurrencyInput | ProductVariantUncheckedCreateWithoutCurrencyInput No

ProductVariantCreateManyCurrencyInputEnvelope

Name Type Nullable
data ProductVariantCreateManyCurrencyInput | ProductVariantCreateManyCurrencyInput[] No
skipDuplicates Boolean No


ProductPriceUpdateWithWhereUniqueWithoutCurrencyInput

Name Type Nullable
where ProductPriceWhereUniqueInput No
data ProductPriceUpdateWithoutCurrencyInput | ProductPriceUncheckedUpdateWithoutCurrencyInput No

ProductPriceUpdateManyWithWhereWithoutCurrencyInput

Name Type Nullable
where ProductPriceScalarWhereInput No
data ProductPriceUpdateManyMutationInput | ProductPriceUncheckedUpdateManyWithoutCurrencyInput No

ProductPriceScalarWhereInput

Name Type Nullable
AND ProductPriceScalarWhereInput | ProductPriceScalarWhereInput[] No
OR ProductPriceScalarWhereInput[] No
NOT ProductPriceScalarWhereInput | ProductPriceScalarWhereInput[] No
id StringFilter | String No
productId StringFilter | String No
organizationId StringNullableFilter | String | Null Yes
priceType EnumPriceTypeFilter | PriceType No
amount DecimalFilter | Decimal No
currencyId StringFilter | String No
customerType EnumCustomerTypeNullableFilter | CustomerType | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


KassaUpdateWithWhereUniqueWithoutCurrencyInput

Name Type Nullable
where KassaWhereUniqueInput No
data KassaUpdateWithoutCurrencyInput | KassaUncheckedUpdateWithoutCurrencyInput No

KassaUpdateManyWithWhereWithoutCurrencyInput

Name Type Nullable
where KassaScalarWhereInput No
data KassaUpdateManyMutationInput | KassaUncheckedUpdateManyWithoutCurrencyInput No

KassaScalarWhereInput

Name Type Nullable
AND KassaScalarWhereInput | KassaScalarWhereInput[] No
OR KassaScalarWhereInput[] No
NOT KassaScalarWhereInput | KassaScalarWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
name StringFilter | String No
type StringFilter | String No
currencyId StringFilter | String No
balance DecimalFilter | Decimal No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


PaymentUpdateWithWhereUniqueWithoutCurrencyInput

Name Type Nullable
where PaymentWhereUniqueInput No
data PaymentUpdateWithoutCurrencyInput | PaymentUncheckedUpdateWithoutCurrencyInput No

PaymentUpdateManyWithWhereWithoutCurrencyInput

Name Type Nullable
where PaymentScalarWhereInput No
data PaymentUpdateManyMutationInput | PaymentUncheckedUpdateManyWithoutCurrencyInput No

PaymentScalarWhereInput

Name Type Nullable
AND PaymentScalarWhereInput | PaymentScalarWhereInput[] No
OR PaymentScalarWhereInput[] No
NOT PaymentScalarWhereInput | PaymentScalarWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
userId StringNullableFilter | String | Null Yes
customerId StringNullableFilter | String | Null Yes
kassaId StringFilter | String No
amount DecimalFilter | Decimal No
currencyId StringFilter | String No
type EnumPaymentTypeFilter | PaymentType No
description StringNullableFilter | String | Null Yes
purchaseId StringNullableFilter | String | Null Yes
saleId StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No


TransactionUpdateWithWhereUniqueWithoutCurrencyInput

Name Type Nullable
where TransactionWhereUniqueInput No
data TransactionUpdateWithoutCurrencyInput | TransactionUncheckedUpdateWithoutCurrencyInput No

TransactionUpdateManyWithWhereWithoutCurrencyInput

Name Type Nullable
where TransactionScalarWhereInput No
data TransactionUpdateManyMutationInput | TransactionUncheckedUpdateManyWithoutCurrencyInput No

TransactionScalarWhereInput

Name Type Nullable
AND TransactionScalarWhereInput | TransactionScalarWhereInput[] No
OR TransactionScalarWhereInput[] No
NOT TransactionScalarWhereInput | TransactionScalarWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
customerId StringFilter | String No
relatedType EnumRelatedTypeFilter | RelatedType No
relatedId StringFilter | String No
date DateTimeFilter | DateTime No
debit DecimalFilter | Decimal No
credit DecimalFilter | Decimal No
balanceAfter DecimalFilter | Decimal No
currencyId StringFilter | String No
description StringNullableFilter | String | Null Yes


SaleUpdateWithWhereUniqueWithoutCurrencyInput

Name Type Nullable
where SaleWhereUniqueInput No
data SaleUpdateWithoutCurrencyInput | SaleUncheckedUpdateWithoutCurrencyInput No

SaleUpdateManyWithWhereWithoutCurrencyInput

Name Type Nullable
where SaleScalarWhereInput No
data SaleUpdateManyMutationInput | SaleUncheckedUpdateManyWithoutCurrencyInput No

SaleScalarWhereInput

Name Type Nullable
AND SaleScalarWhereInput | SaleScalarWhereInput[] No
OR SaleScalarWhereInput[] No
NOT SaleScalarWhereInput | SaleScalarWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
customerId StringNullableFilter | String | Null Yes
responsibleId StringFilter | String No
kassaId StringNullableFilter | String | Null Yes
invoiceNumber StringFilter | String No
saleDate DateTimeFilter | DateTime No
totalAmount DecimalFilter | Decimal No
paidAmount DecimalFilter | Decimal No
currencyId StringFilter | String No
status EnumSaleStatusFilter | SaleStatus No
notes StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


SaleItemUpdateWithWhereUniqueWithoutCurrencyInput

Name Type Nullable
where SaleItemWhereUniqueInput No
data SaleItemUpdateWithoutCurrencyInput | SaleItemUncheckedUpdateWithoutCurrencyInput No

SaleItemUpdateManyWithWhereWithoutCurrencyInput

Name Type Nullable
where SaleItemScalarWhereInput No
data SaleItemUpdateManyMutationInput | SaleItemUncheckedUpdateManyWithoutCurrencyInput No

SaleItemScalarWhereInput

Name Type Nullable
AND SaleItemScalarWhereInput | SaleItemScalarWhereInput[] No
OR SaleItemScalarWhereInput[] No
NOT SaleItemScalarWhereInput | SaleItemScalarWhereInput[] No
id StringFilter | String No
saleId StringFilter | String No
productVariantId StringFilter | String No
quantity IntFilter | Int No
price DecimalFilter | Decimal No
total DecimalFilter | Decimal No
currencyId StringFilter | String No


PurchaseUpdateWithWhereUniqueWithoutCurrencyInput

Name Type Nullable
where PurchaseWhereUniqueInput No
data PurchaseUpdateWithoutCurrencyInput | PurchaseUncheckedUpdateWithoutCurrencyInput No

PurchaseUpdateManyWithWhereWithoutCurrencyInput

Name Type Nullable
where PurchaseScalarWhereInput No
data PurchaseUpdateManyMutationInput | PurchaseUncheckedUpdateManyWithoutCurrencyInput No

PurchaseScalarWhereInput

Name Type Nullable
AND PurchaseScalarWhereInput | PurchaseScalarWhereInput[] No
OR PurchaseScalarWhereInput[] No
NOT PurchaseScalarWhereInput | PurchaseScalarWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
supplierId StringFilter | String No
responsibleId StringNullableFilter | String | Null Yes
kassaId StringNullableFilter | String | Null Yes
invoiceNumber StringNullableFilter | String | Null Yes
purchaseDate DateTimeFilter | DateTime No
totalAmount DecimalFilter | Decimal No
paidAmount DecimalFilter | Decimal No
currencyId StringFilter | String No
status EnumPurchaseStatusFilter | PurchaseStatus No
notes StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


KassaTransferUpdateWithWhereUniqueWithoutFrom_currencyInput

Name Type Nullable
where KassaTransferWhereUniqueInput No
data KassaTransferUpdateWithoutFrom_currencyInput | KassaTransferUncheckedUpdateWithoutFrom_currencyInput No

KassaTransferUpdateManyWithWhereWithoutFrom_currencyInput

Name Type Nullable
where KassaTransferScalarWhereInput No
data KassaTransferUpdateManyMutationInput | KassaTransferUncheckedUpdateManyWithoutFrom_currencyInput No

KassaTransferScalarWhereInput

Name Type Nullable
AND KassaTransferScalarWhereInput | KassaTransferScalarWhereInput[] No
OR KassaTransferScalarWhereInput[] No
NOT KassaTransferScalarWhereInput | KassaTransferScalarWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
fromKassaId StringFilter | String No
toKassaId StringFilter | String No
fromCurrencyId StringFilter | String No
toCurrencyId StringFilter | String No
rate DecimalFilter | Decimal No
amount DecimalFilter | Decimal No
convertedAmount DecimalFilter | Decimal No
description StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No


KassaTransferUpdateWithWhereUniqueWithoutTo_currencyInput

Name Type Nullable
where KassaTransferWhereUniqueInput No
data KassaTransferUpdateWithoutTo_currencyInput | KassaTransferUncheckedUpdateWithoutTo_currencyInput No

KassaTransferUpdateManyWithWhereWithoutTo_currencyInput

Name Type Nullable
where KassaTransferScalarWhereInput No
data KassaTransferUpdateManyMutationInput | KassaTransferUncheckedUpdateManyWithoutTo_currencyInput No


SettingsUpdateWithWhereUniqueWithoutBaseCurrencyInput

Name Type Nullable
where SettingsWhereUniqueInput No
data SettingsUpdateWithoutBaseCurrencyInput | SettingsUncheckedUpdateWithoutBaseCurrencyInput No

SettingsUpdateManyWithWhereWithoutBaseCurrencyInput

Name Type Nullable
where SettingsScalarWhereInput No
data SettingsUpdateManyMutationInput | SettingsUncheckedUpdateManyWithoutBaseCurrencyInput No

SettingsScalarWhereInput

Name Type Nullable
AND SettingsScalarWhereInput | SettingsScalarWhereInput[] No
OR SettingsScalarWhereInput[] No
NOT SettingsScalarWhereInput | SettingsScalarWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
baseCurrencyId StringFilter | String No
language StringNullableFilter | String | Null Yes
dateFormat StringNullableFilter | String | Null Yes
enableInstallment BoolFilter | Boolean No
enableNotifications BoolFilter | Boolean No
enableAutoRateUpdate BoolFilter | Boolean No
taxPercent DecimalNullableFilter | Decimal | Null Yes
logoUrl StringNullableFilter | String | Null Yes
theme EnumThemeTypeFilter | ThemeType No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


ProductVariantUpdateWithWhereUniqueWithoutCurrencyInput

Name Type Nullable
where ProductVariantWhereUniqueInput No
data ProductVariantUpdateWithoutCurrencyInput | ProductVariantUncheckedUpdateWithoutCurrencyInput No

ProductVariantUpdateManyWithWhereWithoutCurrencyInput

Name Type Nullable
where ProductVariantScalarWhereInput No
data ProductVariantUpdateManyMutationInput | ProductVariantUncheckedUpdateManyWithoutCurrencyInput No

ProductVariantScalarWhereInput

Name Type Nullable
AND ProductVariantScalarWhereInput | ProductVariantScalarWhereInput[] No
OR ProductVariantScalarWhereInput[] No
NOT ProductVariantScalarWhereInput | ProductVariantScalarWhereInput[] No
id StringFilter | String No
productId StringFilter | String No
sku StringNullableFilter | String | Null Yes
barcode StringNullableFilter | String | Null Yes
title StringFilter | String No
defaultPrice DecimalNullableFilter | Decimal | Null Yes
currencyId StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No

OrganizationUserCreateWithoutOrganizationInput

Name Type Nullable
id String No
role OrgUserRole No
position String | Null Yes
createdAt DateTime No
updatedAt DateTime No
user UserCreateNestedOneWithoutOrg_linksInput No

OrganizationUserUncheckedCreateWithoutOrganizationInput

Name Type Nullable
id String No
userId String No
role OrgUserRole No
position String | Null Yes
createdAt DateTime No
updatedAt DateTime No

OrganizationUserCreateOrConnectWithoutOrganizationInput

Name Type Nullable
where OrganizationUserWhereUniqueInput No
create OrganizationUserCreateWithoutOrganizationInput | OrganizationUserUncheckedCreateWithoutOrganizationInput No

OrganizationUserCreateManyOrganizationInputEnvelope

Name Type Nullable
data OrganizationUserCreateManyOrganizationInput | OrganizationUserCreateManyOrganizationInput[] No
skipDuplicates Boolean No

OrganizationCustomerCreateWithoutOrganizationInput

Name Type Nullable
id String No
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
user UserCreateNestedOneWithoutCutomer_linksInput No
product_instances ProductInstanceCreateNestedManyWithoutCurrent_ownerInput No
payments PaymentCreateNestedManyWithoutCustomerInput No
transactions TransactionCreateNestedManyWithoutCustomerInput No
sales SaleCreateNestedManyWithoutCustomerInput No
purchases PurchaseCreateNestedManyWithoutSupplierInput No
installments InstallmentCreateNestedManyWithoutCustomerInput No
documents DocumentCreateNestedManyWithoutCustomerInput No

OrganizationCustomerUncheckedCreateWithoutOrganizationInput

Name Type Nullable
id String No
userId String | Null Yes
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput No
payments PaymentUncheckedCreateNestedManyWithoutCustomerInput No
transactions TransactionUncheckedCreateNestedManyWithoutCustomerInput No
sales SaleUncheckedCreateNestedManyWithoutCustomerInput No
purchases PurchaseUncheckedCreateNestedManyWithoutSupplierInput No
installments InstallmentUncheckedCreateNestedManyWithoutCustomerInput No
documents DocumentUncheckedCreateNestedManyWithoutCustomerInput No

OrganizationCustomerCreateOrConnectWithoutOrganizationInput

Name Type Nullable
where OrganizationCustomerWhereUniqueInput No
create OrganizationCustomerCreateWithoutOrganizationInput | OrganizationCustomerUncheckedCreateWithoutOrganizationInput No

OrganizationCustomerCreateManyOrganizationInputEnvelope

Name Type Nullable
data OrganizationCustomerCreateManyOrganizationInput | OrganizationCustomerCreateManyOrganizationInput[] No
skipDuplicates Boolean No

ProductCreateWithoutOrganizationInput

Name Type Nullable
id String No
code String No
name String No
description String | Null Yes
createdAt DateTime No
updatedAt DateTime No
brand BrandCreateNestedOneWithoutProductsInput No
categories ProductCategoryCreateNestedManyWithoutProductInput No
prices ProductPriceCreateNestedManyWithoutProductInput No
variants ProductVariantCreateNestedManyWithoutProductInput No
images ProductImageCreateNestedManyWithoutProductInput No

ProductUncheckedCreateWithoutOrganizationInput

Name Type Nullable
id String No
code String No
name String No
description String | Null Yes
brandId String | Null Yes
createdAt DateTime No
updatedAt DateTime No
categories ProductCategoryUncheckedCreateNestedManyWithoutProductInput No
prices ProductPriceUncheckedCreateNestedManyWithoutProductInput No
variants ProductVariantUncheckedCreateNestedManyWithoutProductInput No
images ProductImageUncheckedCreateNestedManyWithoutProductInput No

ProductCreateOrConnectWithoutOrganizationInput

Name Type Nullable
where ProductWhereUniqueInput No
create ProductCreateWithoutOrganizationInput | ProductUncheckedCreateWithoutOrganizationInput No

ProductCreateManyOrganizationInputEnvelope

Name Type Nullable
data ProductCreateManyOrganizationInput | ProductCreateManyOrganizationInput[] No
skipDuplicates Boolean No

ProductPriceCreateWithoutOrganizationInput

Name Type Nullable
id String No
priceType PriceType No
amount Decimal No
customerType CustomerType | Null Yes
createdAt DateTime No
updatedAt DateTime No
currency CurrencyCreateNestedOneWithoutProduct_pricesInput No
product ProductCreateNestedOneWithoutPricesInput No

ProductPriceUncheckedCreateWithoutOrganizationInput

Name Type Nullable
id String No
productId String No
priceType PriceType No
amount Decimal No
currencyId String No
customerType CustomerType | Null Yes
createdAt DateTime No
updatedAt DateTime No

ProductPriceCreateOrConnectWithoutOrganizationInput

Name Type Nullable
where ProductPriceWhereUniqueInput No
create ProductPriceCreateWithoutOrganizationInput | ProductPriceUncheckedCreateWithoutOrganizationInput No

ProductPriceCreateManyOrganizationInputEnvelope

Name Type Nullable
data ProductPriceCreateManyOrganizationInput | ProductPriceCreateManyOrganizationInput[] No
skipDuplicates Boolean No

ProductInstanceCreateWithoutOrganizationInput

Name Type Nullable
id String No
serialNumber String No
currentStatus ProductStatus No
createdAt DateTime No
updatedAt DateTime No
productVariant ProductVariantCreateNestedOneWithoutProduct_instanceInput No
current_owner OrganizationCustomerCreateNestedOneWithoutProduct_instancesInput No
transactions ProductTransactionCreateNestedManyWithoutProduct_instanceInput No

ProductInstanceUncheckedCreateWithoutOrganizationInput

Name Type Nullable
id String No
productVariantId String | Null Yes
serialNumber String No
currentOwnerId String | Null Yes
currentStatus ProductStatus No
createdAt DateTime No
updatedAt DateTime No
transactions ProductTransactionUncheckedCreateNestedManyWithoutProduct_instanceInput No

ProductInstanceCreateOrConnectWithoutOrganizationInput

Name Type Nullable
where ProductInstanceWhereUniqueInput No
create ProductInstanceCreateWithoutOrganizationInput | ProductInstanceUncheckedCreateWithoutOrganizationInput No

ProductInstanceCreateManyOrganizationInputEnvelope

Name Type Nullable
data ProductInstanceCreateManyOrganizationInput | ProductInstanceCreateManyOrganizationInput[] No
skipDuplicates Boolean No

KassaCreateWithoutOrganizationInput

Name Type Nullable
id String No
name String No
type String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No
currency CurrencyCreateNestedOneWithoutKassasInput No
payments PaymentCreateNestedManyWithoutKassaInput No
purchases PurchaseCreateNestedManyWithoutKassaInput No
sales SaleCreateNestedManyWithoutKassaInput No
outgoing_transfers KassaTransferCreateNestedManyWithoutFrom_kassaInput No
incoming_transfers KassaTransferCreateNestedManyWithoutTo_kassaInput No

KassaUncheckedCreateWithoutOrganizationInput

Name Type Nullable
id String No
name String No
type String No
currencyId String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No
payments PaymentUncheckedCreateNestedManyWithoutKassaInput No
purchases PurchaseUncheckedCreateNestedManyWithoutKassaInput No
sales SaleUncheckedCreateNestedManyWithoutKassaInput No
outgoing_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_kassaInput No
incoming_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_kassaInput No

KassaCreateOrConnectWithoutOrganizationInput

Name Type Nullable
where KassaWhereUniqueInput No
create KassaCreateWithoutOrganizationInput | KassaUncheckedCreateWithoutOrganizationInput No

KassaCreateManyOrganizationInputEnvelope

Name Type Nullable
data KassaCreateManyOrganizationInput | KassaCreateManyOrganizationInput[] No
skipDuplicates Boolean No

PaymentCreateWithoutOrganizationInput

Name Type Nullable
id String No
amount Decimal No
type PaymentType No
description String | Null Yes
createdAt DateTime No
user UserCreateNestedOneWithoutPaymentsInput No
customer OrganizationCustomerCreateNestedOneWithoutPaymentsInput No
kassa KassaCreateNestedOneWithoutPaymentsInput No
currency CurrencyCreateNestedOneWithoutPaymentsInput No
purchase PurchaseCreateNestedOneWithoutPaymentsInput No
sale SaleCreateNestedOneWithoutPaymentsInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutPaymentInput No

PaymentUncheckedCreateWithoutOrganizationInput

Name Type Nullable
id String No
userId String | Null Yes
customerId String | Null Yes
kassaId String No
amount Decimal No
currencyId String No
type PaymentType No
description String | Null Yes
purchaseId String | Null Yes
saleId String | Null Yes
createdAt DateTime No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutPaymentInput No

PaymentCreateOrConnectWithoutOrganizationInput

Name Type Nullable
where PaymentWhereUniqueInput No
create PaymentCreateWithoutOrganizationInput | PaymentUncheckedCreateWithoutOrganizationInput No

PaymentCreateManyOrganizationInputEnvelope

Name Type Nullable
data PaymentCreateManyOrganizationInput | PaymentCreateManyOrganizationInput[] No
skipDuplicates Boolean No

TransactionCreateWithoutOrganizationInput

Name Type Nullable
id String No
relatedType RelatedType No
relatedId String No
date DateTime No
debit Decimal No
credit Decimal No
balanceAfter Decimal No
description String | Null Yes
customer OrganizationCustomerCreateNestedOneWithoutTransactionsInput No
currency CurrencyCreateNestedOneWithoutTransactionsInput No

TransactionUncheckedCreateWithoutOrganizationInput

Name Type Nullable
id String No
customerId String No
relatedType RelatedType No
relatedId String No
date DateTime No
debit Decimal No
credit Decimal No
balanceAfter Decimal No
currencyId String No
description String | Null Yes

TransactionCreateOrConnectWithoutOrganizationInput

Name Type Nullable
where TransactionWhereUniqueInput No
create TransactionCreateWithoutOrganizationInput | TransactionUncheckedCreateWithoutOrganizationInput No

TransactionCreateManyOrganizationInputEnvelope

Name Type Nullable
data TransactionCreateManyOrganizationInput | TransactionCreateManyOrganizationInput[] No
skipDuplicates Boolean No

SaleCreateWithoutOrganizationInput

Name Type Nullable
id String No
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
customer OrganizationCustomerCreateNestedOneWithoutSalesInput No
responsible UserCreateNestedOneWithoutSalesInput No
currency CurrencyCreateNestedOneWithoutSalesInput No
kassa KassaCreateNestedOneWithoutSalesInput No
items SaleItemCreateNestedManyWithoutSaleInput No
payments PaymentCreateNestedManyWithoutSaleInput No
installments InstallmentCreateNestedManyWithoutSaleInput No
documents DocumentCreateNestedManyWithoutSaleInput No

SaleUncheckedCreateWithoutOrganizationInput

Name Type Nullable
id String No
customerId String | Null Yes
responsibleId String No
kassaId String | Null Yes
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
items SaleItemUncheckedCreateNestedManyWithoutSaleInput No
payments PaymentUncheckedCreateNestedManyWithoutSaleInput No
installments InstallmentUncheckedCreateNestedManyWithoutSaleInput No
documents DocumentUncheckedCreateNestedManyWithoutSaleInput No

SaleCreateOrConnectWithoutOrganizationInput

Name Type Nullable
where SaleWhereUniqueInput No
create SaleCreateWithoutOrganizationInput | SaleUncheckedCreateWithoutOrganizationInput No

SaleCreateManyOrganizationInputEnvelope

Name Type Nullable
data SaleCreateManyOrganizationInput | SaleCreateManyOrganizationInput[] No
skipDuplicates Boolean No

PurchaseCreateWithoutOrganizationInput

Name Type Nullable
id String No
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
supplier OrganizationCustomerCreateNestedOneWithoutPurchasesInput No
responsible UserCreateNestedOneWithoutPurchasesInput No
currency CurrencyCreateNestedOneWithoutPurchasesInput No
kassa KassaCreateNestedOneWithoutPurchasesInput No
items PurchaseItemCreateNestedManyWithoutPurchaseInput No
payments PaymentCreateNestedManyWithoutPurchaseInput No

PurchaseUncheckedCreateWithoutOrganizationInput

Name Type Nullable
id String No
supplierId String No
responsibleId String | Null Yes
kassaId String | Null Yes
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
items PurchaseItemUncheckedCreateNestedManyWithoutPurchaseInput No
payments PaymentUncheckedCreateNestedManyWithoutPurchaseInput No

PurchaseCreateOrConnectWithoutOrganizationInput

Name Type Nullable
where PurchaseWhereUniqueInput No
create PurchaseCreateWithoutOrganizationInput | PurchaseUncheckedCreateWithoutOrganizationInput No

PurchaseCreateManyOrganizationInputEnvelope

Name Type Nullable
data PurchaseCreateManyOrganizationInput | PurchaseCreateManyOrganizationInput[] No
skipDuplicates Boolean No

StockCreateWithoutOrganizationInput

Name Type Nullable
id String No
quantity Int No
updatedAt DateTime No
product_variant ProductVariantCreateNestedOneWithoutStocksInput No

StockUncheckedCreateWithoutOrganizationInput

Name Type Nullable
id String No
productVariantId String No
quantity Int No
updatedAt DateTime No

StockCreateOrConnectWithoutOrganizationInput

Name Type Nullable
where StockWhereUniqueInput No
create StockCreateWithoutOrganizationInput | StockUncheckedCreateWithoutOrganizationInput No

StockCreateManyOrganizationInputEnvelope

Name Type Nullable
data StockCreateManyOrganizationInput | StockCreateManyOrganizationInput[] No
skipDuplicates Boolean No

KassaTransferCreateWithoutOrganizationInput

Name Type Nullable
id String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No
from_kassa KassaCreateNestedOneWithoutOutgoing_transfersInput No
to_kassa KassaCreateNestedOneWithoutIncoming_transfersInput No
from_currency CurrencyCreateNestedOneWithoutFrom_transfersInput No
to_currency CurrencyCreateNestedOneWithoutTo_transfersInput No

KassaTransferUncheckedCreateWithoutOrganizationInput

Name Type Nullable
id String No
fromKassaId String No
toKassaId String No
fromCurrencyId String No
toCurrencyId String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No

KassaTransferCreateOrConnectWithoutOrganizationInput

Name Type Nullable
where KassaTransferWhereUniqueInput No
create KassaTransferCreateWithoutOrganizationInput | KassaTransferUncheckedCreateWithoutOrganizationInput No

KassaTransferCreateManyOrganizationInputEnvelope

Name Type Nullable
data KassaTransferCreateManyOrganizationInput | KassaTransferCreateManyOrganizationInput[] No
skipDuplicates Boolean No

SettingsCreateWithoutOrganizationInput

Name Type Nullable
id String No
language String | Null Yes
dateFormat String | Null Yes
enableInstallment Boolean No
enableNotifications Boolean No
enableAutoRateUpdate Boolean No
taxPercent Decimal | Null Yes
logoUrl String | Null Yes
theme ThemeType No
createdAt DateTime No
updatedAt DateTime No
baseCurrency CurrencyCreateNestedOneWithoutSettingsInput No

SettingsUncheckedCreateWithoutOrganizationInput

Name Type Nullable
id String No
baseCurrencyId String No
language String | Null Yes
dateFormat String | Null Yes
enableInstallment Boolean No
enableNotifications Boolean No
enableAutoRateUpdate Boolean No
taxPercent Decimal | Null Yes
logoUrl String | Null Yes
theme ThemeType No
createdAt DateTime No
updatedAt DateTime No

SettingsCreateOrConnectWithoutOrganizationInput

Name Type Nullable
where SettingsWhereUniqueInput No
create SettingsCreateWithoutOrganizationInput | SettingsUncheckedCreateWithoutOrganizationInput No

AuditLogCreateWithoutOrganizationInput

Name Type Nullable
id String No
action String No
entity String No
entityId String | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | Null Yes
createdAt DateTime No
user UserCreateNestedOneWithoutAudit_logsInput No

AuditLogUncheckedCreateWithoutOrganizationInput

Name Type Nullable
id String No
userId String | Null Yes
action String No
entity String No
entityId String | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | Null Yes
createdAt DateTime No

AuditLogCreateOrConnectWithoutOrganizationInput

Name Type Nullable
where AuditLogWhereUniqueInput No
create AuditLogCreateWithoutOrganizationInput | AuditLogUncheckedCreateWithoutOrganizationInput No

AuditLogCreateManyOrganizationInputEnvelope

Name Type Nullable
data AuditLogCreateManyOrganizationInput | AuditLogCreateManyOrganizationInput[] No
skipDuplicates Boolean No

DocumentCreateWithoutOrganizationInput

Name Type Nullable
id String No
type DocumentType No
fileUrl String No
createdAt DateTime No
uploadedBy UserCreateNestedOneWithoutDocumentsInput No
customer OrganizationCustomerCreateNestedOneWithoutDocumentsInput No
sale SaleCreateNestedOneWithoutDocumentsInput No

DocumentUncheckedCreateWithoutOrganizationInput

Name Type Nullable
id String No
customerId String | Null Yes
saleId String | Null Yes
type DocumentType No
fileUrl String No
uploadedById String | Null Yes
createdAt DateTime No

DocumentCreateOrConnectWithoutOrganizationInput

Name Type Nullable
where DocumentWhereUniqueInput No
create DocumentCreateWithoutOrganizationInput | DocumentUncheckedCreateWithoutOrganizationInput No

DocumentCreateManyOrganizationInputEnvelope

Name Type Nullable
data DocumentCreateManyOrganizationInput | DocumentCreateManyOrganizationInput[] No
skipDuplicates Boolean No


OrganizationUserUpdateWithWhereUniqueWithoutOrganizationInput

Name Type Nullable
where OrganizationUserWhereUniqueInput No
data OrganizationUserUpdateWithoutOrganizationInput | OrganizationUserUncheckedUpdateWithoutOrganizationInput No

OrganizationUserUpdateManyWithWhereWithoutOrganizationInput

Name Type Nullable
where OrganizationUserScalarWhereInput No
data OrganizationUserUpdateManyMutationInput | OrganizationUserUncheckedUpdateManyWithoutOrganizationInput No

OrganizationUserScalarWhereInput

Name Type Nullable
AND OrganizationUserScalarWhereInput | OrganizationUserScalarWhereInput[] No
OR OrganizationUserScalarWhereInput[] No
NOT OrganizationUserScalarWhereInput | OrganizationUserScalarWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
userId StringFilter | String No
role EnumOrgUserRoleFilter | OrgUserRole No
position StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


OrganizationCustomerUpdateWithWhereUniqueWithoutOrganizationInput

Name Type Nullable
where OrganizationCustomerWhereUniqueInput No
data OrganizationCustomerUpdateWithoutOrganizationInput | OrganizationCustomerUncheckedUpdateWithoutOrganizationInput No

OrganizationCustomerUpdateManyWithWhereWithoutOrganizationInput

Name Type Nullable
where OrganizationCustomerScalarWhereInput No
data OrganizationCustomerUpdateManyMutationInput | OrganizationCustomerUncheckedUpdateManyWithoutOrganizationInput No

OrganizationCustomerScalarWhereInput

Name Type Nullable
AND OrganizationCustomerScalarWhereInput | OrganizationCustomerScalarWhereInput[] No
OR OrganizationCustomerScalarWhereInput[] No
NOT OrganizationCustomerScalarWhereInput | OrganizationCustomerScalarWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
userId StringNullableFilter | String | Null Yes
firstName StringFilter | String No
lastName StringFilter | String No
patronymic StringNullableFilter | String | Null Yes
phone StringFilter | String No
type EnumCustomerTypeFilter | CustomerType No
isBlacklisted BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


ProductUpdateWithWhereUniqueWithoutOrganizationInput

Name Type Nullable
where ProductWhereUniqueInput No
data ProductUpdateWithoutOrganizationInput | ProductUncheckedUpdateWithoutOrganizationInput No

ProductUpdateManyWithWhereWithoutOrganizationInput

Name Type Nullable
where ProductScalarWhereInput No
data ProductUpdateManyMutationInput | ProductUncheckedUpdateManyWithoutOrganizationInput No

ProductScalarWhereInput

Name Type Nullable
AND ProductScalarWhereInput | ProductScalarWhereInput[] No
OR ProductScalarWhereInput[] No
NOT ProductScalarWhereInput | ProductScalarWhereInput[] No
id StringFilter | String No
code StringFilter | String No
organizationId StringFilter | String No
name StringFilter | String No
description StringNullableFilter | String | Null Yes
brandId StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


ProductPriceUpdateWithWhereUniqueWithoutOrganizationInput

Name Type Nullable
where ProductPriceWhereUniqueInput No
data ProductPriceUpdateWithoutOrganizationInput | ProductPriceUncheckedUpdateWithoutOrganizationInput No

ProductPriceUpdateManyWithWhereWithoutOrganizationInput

Name Type Nullable
where ProductPriceScalarWhereInput No
data ProductPriceUpdateManyMutationInput | ProductPriceUncheckedUpdateManyWithoutOrganizationInput No


ProductInstanceUpdateWithWhereUniqueWithoutOrganizationInput

Name Type Nullable
where ProductInstanceWhereUniqueInput No
data ProductInstanceUpdateWithoutOrganizationInput | ProductInstanceUncheckedUpdateWithoutOrganizationInput No

ProductInstanceUpdateManyWithWhereWithoutOrganizationInput

Name Type Nullable
where ProductInstanceScalarWhereInput No
data ProductInstanceUpdateManyMutationInput | ProductInstanceUncheckedUpdateManyWithoutOrganizationInput No

ProductInstanceScalarWhereInput

Name Type Nullable
AND ProductInstanceScalarWhereInput | ProductInstanceScalarWhereInput[] No
OR ProductInstanceScalarWhereInput[] No
NOT ProductInstanceScalarWhereInput | ProductInstanceScalarWhereInput[] No
id StringFilter | String No
productVariantId StringNullableFilter | String | Null Yes
serialNumber StringFilter | String No
currentOwnerId StringNullableFilter | String | Null Yes
currentStatus EnumProductStatusFilter | ProductStatus No
organizationId StringFilter | String No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


KassaUpdateWithWhereUniqueWithoutOrganizationInput

Name Type Nullable
where KassaWhereUniqueInput No
data KassaUpdateWithoutOrganizationInput | KassaUncheckedUpdateWithoutOrganizationInput No

KassaUpdateManyWithWhereWithoutOrganizationInput

Name Type Nullable
where KassaScalarWhereInput No
data KassaUpdateManyMutationInput | KassaUncheckedUpdateManyWithoutOrganizationInput No


PaymentUpdateWithWhereUniqueWithoutOrganizationInput

Name Type Nullable
where PaymentWhereUniqueInput No
data PaymentUpdateWithoutOrganizationInput | PaymentUncheckedUpdateWithoutOrganizationInput No

PaymentUpdateManyWithWhereWithoutOrganizationInput

Name Type Nullable
where PaymentScalarWhereInput No
data PaymentUpdateManyMutationInput | PaymentUncheckedUpdateManyWithoutOrganizationInput No


TransactionUpdateWithWhereUniqueWithoutOrganizationInput

Name Type Nullable
where TransactionWhereUniqueInput No
data TransactionUpdateWithoutOrganizationInput | TransactionUncheckedUpdateWithoutOrganizationInput No

TransactionUpdateManyWithWhereWithoutOrganizationInput

Name Type Nullable
where TransactionScalarWhereInput No
data TransactionUpdateManyMutationInput | TransactionUncheckedUpdateManyWithoutOrganizationInput No


SaleUpdateWithWhereUniqueWithoutOrganizationInput

Name Type Nullable
where SaleWhereUniqueInput No
data SaleUpdateWithoutOrganizationInput | SaleUncheckedUpdateWithoutOrganizationInput No

SaleUpdateManyWithWhereWithoutOrganizationInput

Name Type Nullable
where SaleScalarWhereInput No
data SaleUpdateManyMutationInput | SaleUncheckedUpdateManyWithoutOrganizationInput No


PurchaseUpdateWithWhereUniqueWithoutOrganizationInput

Name Type Nullable
where PurchaseWhereUniqueInput No
data PurchaseUpdateWithoutOrganizationInput | PurchaseUncheckedUpdateWithoutOrganizationInput No

PurchaseUpdateManyWithWhereWithoutOrganizationInput

Name Type Nullable
where PurchaseScalarWhereInput No
data PurchaseUpdateManyMutationInput | PurchaseUncheckedUpdateManyWithoutOrganizationInput No


StockUpdateWithWhereUniqueWithoutOrganizationInput

Name Type Nullable
where StockWhereUniqueInput No
data StockUpdateWithoutOrganizationInput | StockUncheckedUpdateWithoutOrganizationInput No

StockUpdateManyWithWhereWithoutOrganizationInput

Name Type Nullable
where StockScalarWhereInput No
data StockUpdateManyMutationInput | StockUncheckedUpdateManyWithoutOrganizationInput No

StockScalarWhereInput

Name Type Nullable
AND StockScalarWhereInput | StockScalarWhereInput[] No
OR StockScalarWhereInput[] No
NOT StockScalarWhereInput | StockScalarWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
productVariantId StringFilter | String No
quantity IntFilter | Int No
updatedAt DateTimeFilter | DateTime No


KassaTransferUpdateWithWhereUniqueWithoutOrganizationInput

Name Type Nullable
where KassaTransferWhereUniqueInput No
data KassaTransferUpdateWithoutOrganizationInput | KassaTransferUncheckedUpdateWithoutOrganizationInput No

KassaTransferUpdateManyWithWhereWithoutOrganizationInput

Name Type Nullable
where KassaTransferScalarWhereInput No
data KassaTransferUpdateManyMutationInput | KassaTransferUncheckedUpdateManyWithoutOrganizationInput No


SettingsUpdateToOneWithWhereWithoutOrganizationInput

Name Type Nullable
where SettingsWhereInput No
data SettingsUpdateWithoutOrganizationInput | SettingsUncheckedUpdateWithoutOrganizationInput No

SettingsUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
language String | NullableStringFieldUpdateOperationsInput | Null Yes
dateFormat String | NullableStringFieldUpdateOperationsInput | Null Yes
enableInstallment Boolean | BoolFieldUpdateOperationsInput No
enableNotifications Boolean | BoolFieldUpdateOperationsInput No
enableAutoRateUpdate Boolean | BoolFieldUpdateOperationsInput No
taxPercent Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
logoUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
theme ThemeType | EnumThemeTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
baseCurrency CurrencyUpdateOneRequiredWithoutSettingsNestedInput No

SettingsUncheckedUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
baseCurrencyId String | StringFieldUpdateOperationsInput No
language String | NullableStringFieldUpdateOperationsInput | Null Yes
dateFormat String | NullableStringFieldUpdateOperationsInput | Null Yes
enableInstallment Boolean | BoolFieldUpdateOperationsInput No
enableNotifications Boolean | BoolFieldUpdateOperationsInput No
enableAutoRateUpdate Boolean | BoolFieldUpdateOperationsInput No
taxPercent Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
logoUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
theme ThemeType | EnumThemeTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


AuditLogUpdateWithWhereUniqueWithoutOrganizationInput

Name Type Nullable
where AuditLogWhereUniqueInput No
data AuditLogUpdateWithoutOrganizationInput | AuditLogUncheckedUpdateWithoutOrganizationInput No

AuditLogUpdateManyWithWhereWithoutOrganizationInput

Name Type Nullable
where AuditLogScalarWhereInput No
data AuditLogUpdateManyMutationInput | AuditLogUncheckedUpdateManyWithoutOrganizationInput No

AuditLogScalarWhereInput

Name Type Nullable
AND AuditLogScalarWhereInput | AuditLogScalarWhereInput[] No
OR AuditLogScalarWhereInput[] No
NOT AuditLogScalarWhereInput | AuditLogScalarWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
userId StringNullableFilter | String | Null Yes
action StringFilter | String No
entity StringFilter | String No
entityId StringNullableFilter | String | Null Yes
oldValue JsonNullableFilter No
newValue JsonNullableFilter No
note StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No


DocumentUpdateWithWhereUniqueWithoutOrganizationInput

Name Type Nullable
where DocumentWhereUniqueInput No
data DocumentUpdateWithoutOrganizationInput | DocumentUncheckedUpdateWithoutOrganizationInput No

DocumentUpdateManyWithWhereWithoutOrganizationInput

Name Type Nullable
where DocumentScalarWhereInput No
data DocumentUpdateManyMutationInput | DocumentUncheckedUpdateManyWithoutOrganizationInput No

DocumentScalarWhereInput

Name Type Nullable
AND DocumentScalarWhereInput | DocumentScalarWhereInput[] No
OR DocumentScalarWhereInput[] No
NOT DocumentScalarWhereInput | DocumentScalarWhereInput[] No
id StringFilter | String No
organizationId StringFilter | String No
customerId StringNullableFilter | String | Null Yes
saleId StringNullableFilter | String | Null Yes
type EnumDocumentTypeFilter | DocumentType No
fileUrl StringFilter | String No
uploadedById StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No

UserProfileCreateWithoutUserInput

Name Type Nullable
id String No
firstName String No
lastName String No
patronymic String | Null Yes
dateOfBirth DateTime | Null Yes
gender Gender No
passportSeries String | Null Yes
passportNumber String | Null Yes
issuedBy String | Null Yes
issuedDate DateTime | Null Yes
expiryDate DateTime | Null Yes
country String | Null Yes
region String | Null Yes
city String | Null Yes
address String | Null Yes
registration String | Null Yes
district String | Null Yes

UserProfileUncheckedCreateWithoutUserInput

Name Type Nullable
id String No
firstName String No
lastName String No
patronymic String | Null Yes
dateOfBirth DateTime | Null Yes
gender Gender No
passportSeries String | Null Yes
passportNumber String | Null Yes
issuedBy String | Null Yes
issuedDate DateTime | Null Yes
expiryDate DateTime | Null Yes
country String | Null Yes
region String | Null Yes
city String | Null Yes
address String | Null Yes
registration String | Null Yes
district String | Null Yes

UserProfileCreateOrConnectWithoutUserInput

Name Type Nullable
where UserProfileWhereUniqueInput No
create UserProfileCreateWithoutUserInput | UserProfileUncheckedCreateWithoutUserInput No

RoleCreateWithoutUsersInput

Name Type Nullable
id String No
name String No
description String | Null Yes

RoleUncheckedCreateWithoutUsersInput

Name Type Nullable
id String No
name String No
description String | Null Yes

RoleCreateOrConnectWithoutUsersInput

Name Type Nullable
where RoleWhereUniqueInput No
create RoleCreateWithoutUsersInput | RoleUncheckedCreateWithoutUsersInput No

OrganizationUserCreateWithoutUserInput

Name Type Nullable
id String No
role OrgUserRole No
position String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutOrg_usersInput No

OrganizationUserUncheckedCreateWithoutUserInput

Name Type Nullable
id String No
organizationId String No
role OrgUserRole No
position String | Null Yes
createdAt DateTime No
updatedAt DateTime No

OrganizationUserCreateOrConnectWithoutUserInput

Name Type Nullable
where OrganizationUserWhereUniqueInput No
create OrganizationUserCreateWithoutUserInput | OrganizationUserUncheckedCreateWithoutUserInput No

OrganizationUserCreateManyUserInputEnvelope

Name Type Nullable
data OrganizationUserCreateManyUserInput | OrganizationUserCreateManyUserInput[] No
skipDuplicates Boolean No

OrganizationCustomerCreateWithoutUserInput

Name Type Nullable
id String No
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutCustomersInput No
product_instances ProductInstanceCreateNestedManyWithoutCurrent_ownerInput No
payments PaymentCreateNestedManyWithoutCustomerInput No
transactions TransactionCreateNestedManyWithoutCustomerInput No
sales SaleCreateNestedManyWithoutCustomerInput No
purchases PurchaseCreateNestedManyWithoutSupplierInput No
installments InstallmentCreateNestedManyWithoutCustomerInput No
documents DocumentCreateNestedManyWithoutCustomerInput No

OrganizationCustomerUncheckedCreateWithoutUserInput

Name Type Nullable
id String No
organizationId String No
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput No
payments PaymentUncheckedCreateNestedManyWithoutCustomerInput No
transactions TransactionUncheckedCreateNestedManyWithoutCustomerInput No
sales SaleUncheckedCreateNestedManyWithoutCustomerInput No
purchases PurchaseUncheckedCreateNestedManyWithoutSupplierInput No
installments InstallmentUncheckedCreateNestedManyWithoutCustomerInput No
documents DocumentUncheckedCreateNestedManyWithoutCustomerInput No

OrganizationCustomerCreateOrConnectWithoutUserInput

Name Type Nullable
where OrganizationCustomerWhereUniqueInput No
create OrganizationCustomerCreateWithoutUserInput | OrganizationCustomerUncheckedCreateWithoutUserInput No

OrganizationCustomerCreateManyUserInputEnvelope

Name Type Nullable
data OrganizationCustomerCreateManyUserInput | OrganizationCustomerCreateManyUserInput[] No
skipDuplicates Boolean No

PaymentCreateWithoutUserInput

Name Type Nullable
id String No
amount Decimal No
type PaymentType No
description String | Null Yes
createdAt DateTime No
organization OrganizationCreateNestedOneWithoutPaymentsInput No
customer OrganizationCustomerCreateNestedOneWithoutPaymentsInput No
kassa KassaCreateNestedOneWithoutPaymentsInput No
currency CurrencyCreateNestedOneWithoutPaymentsInput No
purchase PurchaseCreateNestedOneWithoutPaymentsInput No
sale SaleCreateNestedOneWithoutPaymentsInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutPaymentInput No

PaymentUncheckedCreateWithoutUserInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
kassaId String No
amount Decimal No
currencyId String No
type PaymentType No
description String | Null Yes
purchaseId String | Null Yes
saleId String | Null Yes
createdAt DateTime No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutPaymentInput No

PaymentCreateOrConnectWithoutUserInput

Name Type Nullable
where PaymentWhereUniqueInput No
create PaymentCreateWithoutUserInput | PaymentUncheckedCreateWithoutUserInput No

PaymentCreateManyUserInputEnvelope

Name Type Nullable
data PaymentCreateManyUserInput | PaymentCreateManyUserInput[] No
skipDuplicates Boolean No

SaleCreateWithoutResponsibleInput

Name Type Nullable
id String No
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutSalesInput No
customer OrganizationCustomerCreateNestedOneWithoutSalesInput No
currency CurrencyCreateNestedOneWithoutSalesInput No
kassa KassaCreateNestedOneWithoutSalesInput No
items SaleItemCreateNestedManyWithoutSaleInput No
payments PaymentCreateNestedManyWithoutSaleInput No
installments InstallmentCreateNestedManyWithoutSaleInput No
documents DocumentCreateNestedManyWithoutSaleInput No

SaleUncheckedCreateWithoutResponsibleInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
kassaId String | Null Yes
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
items SaleItemUncheckedCreateNestedManyWithoutSaleInput No
payments PaymentUncheckedCreateNestedManyWithoutSaleInput No
installments InstallmentUncheckedCreateNestedManyWithoutSaleInput No
documents DocumentUncheckedCreateNestedManyWithoutSaleInput No

SaleCreateOrConnectWithoutResponsibleInput

Name Type Nullable
where SaleWhereUniqueInput No
create SaleCreateWithoutResponsibleInput | SaleUncheckedCreateWithoutResponsibleInput No

SaleCreateManyResponsibleInputEnvelope

Name Type Nullable
data SaleCreateManyResponsibleInput | SaleCreateManyResponsibleInput[] No
skipDuplicates Boolean No

PurchaseCreateWithoutResponsibleInput

Name Type Nullable
id String No
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutPurchasesInput No
supplier OrganizationCustomerCreateNestedOneWithoutPurchasesInput No
currency CurrencyCreateNestedOneWithoutPurchasesInput No
kassa KassaCreateNestedOneWithoutPurchasesInput No
items PurchaseItemCreateNestedManyWithoutPurchaseInput No
payments PaymentCreateNestedManyWithoutPurchaseInput No

PurchaseUncheckedCreateWithoutResponsibleInput

Name Type Nullable
id String No
organizationId String No
supplierId String No
kassaId String | Null Yes
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
items PurchaseItemUncheckedCreateNestedManyWithoutPurchaseInput No
payments PaymentUncheckedCreateNestedManyWithoutPurchaseInput No

PurchaseCreateOrConnectWithoutResponsibleInput

Name Type Nullable
where PurchaseWhereUniqueInput No
create PurchaseCreateWithoutResponsibleInput | PurchaseUncheckedCreateWithoutResponsibleInput No

PurchaseCreateManyResponsibleInputEnvelope

Name Type Nullable
data PurchaseCreateManyResponsibleInput | PurchaseCreateManyResponsibleInput[] No
skipDuplicates Boolean No

UserPhoneCreateWithoutUserInput

Name Type Nullable
id String No
phone String No
note String | Null Yes
isPrimary Boolean No
createdAt DateTime No
updatedAt DateTime No

UserPhoneUncheckedCreateWithoutUserInput

Name Type Nullable
id String No
phone String No
note String | Null Yes
isPrimary Boolean No
createdAt DateTime No
updatedAt DateTime No

UserPhoneCreateOrConnectWithoutUserInput

Name Type Nullable
where UserPhoneWhereUniqueInput No
create UserPhoneCreateWithoutUserInput | UserPhoneUncheckedCreateWithoutUserInput No

UserPhoneCreateManyUserInputEnvelope

Name Type Nullable
data UserPhoneCreateManyUserInput | UserPhoneCreateManyUserInput[] No
skipDuplicates Boolean No

AuditLogCreateWithoutUserInput

Name Type Nullable
id String No
action String No
entity String No
entityId String | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | Null Yes
createdAt DateTime No
organization OrganizationCreateNestedOneWithoutAudit_logsInput No

AuditLogUncheckedCreateWithoutUserInput

Name Type Nullable
id String No
organizationId String No
action String No
entity String No
entityId String | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | Null Yes
createdAt DateTime No

AuditLogCreateOrConnectWithoutUserInput

Name Type Nullable
where AuditLogWhereUniqueInput No
create AuditLogCreateWithoutUserInput | AuditLogUncheckedCreateWithoutUserInput No

AuditLogCreateManyUserInputEnvelope

Name Type Nullable
data AuditLogCreateManyUserInput | AuditLogCreateManyUserInput[] No
skipDuplicates Boolean No

DocumentCreateWithoutUploadedByInput

Name Type Nullable
id String No
type DocumentType No
fileUrl String No
createdAt DateTime No
organization OrganizationCreateNestedOneWithoutDocumentsInput No
customer OrganizationCustomerCreateNestedOneWithoutDocumentsInput No
sale SaleCreateNestedOneWithoutDocumentsInput No

DocumentUncheckedCreateWithoutUploadedByInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
saleId String | Null Yes
type DocumentType No
fileUrl String No
createdAt DateTime No

DocumentCreateOrConnectWithoutUploadedByInput

Name Type Nullable
where DocumentWhereUniqueInput No
create DocumentCreateWithoutUploadedByInput | DocumentUncheckedCreateWithoutUploadedByInput No

DocumentCreateManyUploadedByInputEnvelope

Name Type Nullable
data DocumentCreateManyUploadedByInput | DocumentCreateManyUploadedByInput[] No
skipDuplicates Boolean No

InstallmentPaymentCreateWithoutCreated_byInput

Name Type Nullable
id String No
amount Decimal No
paidAt DateTime No
paymentMethod String | Null Yes
note String | Null Yes
installment InstallmentCreateNestedOneWithoutPaymentsInput No
payment PaymentCreateNestedOneWithoutInstallment_paymentsInput No

InstallmentPaymentUncheckedCreateWithoutCreated_byInput

Name Type Nullable
id String No
installmentId String No
amount Decimal No
paidAt DateTime No
paymentMethod String | Null Yes
note String | Null Yes
paymentId String | Null Yes

InstallmentPaymentCreateOrConnectWithoutCreated_byInput

Name Type Nullable
where InstallmentPaymentWhereUniqueInput No
create InstallmentPaymentCreateWithoutCreated_byInput | InstallmentPaymentUncheckedCreateWithoutCreated_byInput No

InstallmentPaymentCreateManyCreated_byInputEnvelope

Name Type Nullable
data InstallmentPaymentCreateManyCreated_byInput | InstallmentPaymentCreateManyCreated_byInput[] No
skipDuplicates Boolean No


UserProfileUpdateToOneWithWhereWithoutUserInput

Name Type Nullable
where UserProfileWhereInput No
data UserProfileUpdateWithoutUserInput | UserProfileUncheckedUpdateWithoutUserInput No

UserProfileUpdateWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
dateOfBirth DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
gender Gender | EnumGenderFieldUpdateOperationsInput No
passportSeries String | NullableStringFieldUpdateOperationsInput | Null Yes
passportNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
issuedBy String | NullableStringFieldUpdateOperationsInput | Null Yes
issuedDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
expiryDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
country String | NullableStringFieldUpdateOperationsInput | Null Yes
region String | NullableStringFieldUpdateOperationsInput | Null Yes
city String | NullableStringFieldUpdateOperationsInput | Null Yes
address String | NullableStringFieldUpdateOperationsInput | Null Yes
registration String | NullableStringFieldUpdateOperationsInput | Null Yes
district String | NullableStringFieldUpdateOperationsInput | Null Yes

UserProfileUncheckedUpdateWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
dateOfBirth DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
gender Gender | EnumGenderFieldUpdateOperationsInput No
passportSeries String | NullableStringFieldUpdateOperationsInput | Null Yes
passportNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
issuedBy String | NullableStringFieldUpdateOperationsInput | Null Yes
issuedDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
expiryDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
country String | NullableStringFieldUpdateOperationsInput | Null Yes
region String | NullableStringFieldUpdateOperationsInput | Null Yes
city String | NullableStringFieldUpdateOperationsInput | Null Yes
address String | NullableStringFieldUpdateOperationsInput | Null Yes
registration String | NullableStringFieldUpdateOperationsInput | Null Yes
district String | NullableStringFieldUpdateOperationsInput | Null Yes


RoleUpdateToOneWithWhereWithoutUsersInput

Name Type Nullable
where RoleWhereInput No
data RoleUpdateWithoutUsersInput | RoleUncheckedUpdateWithoutUsersInput No

RoleUpdateWithoutUsersInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

RoleUncheckedUpdateWithoutUsersInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes


OrganizationUserUpdateWithWhereUniqueWithoutUserInput

Name Type Nullable
where OrganizationUserWhereUniqueInput No
data OrganizationUserUpdateWithoutUserInput | OrganizationUserUncheckedUpdateWithoutUserInput No

OrganizationUserUpdateManyWithWhereWithoutUserInput

Name Type Nullable
where OrganizationUserScalarWhereInput No
data OrganizationUserUpdateManyMutationInput | OrganizationUserUncheckedUpdateManyWithoutUserInput No


OrganizationCustomerUpdateWithWhereUniqueWithoutUserInput

Name Type Nullable
where OrganizationCustomerWhereUniqueInput No
data OrganizationCustomerUpdateWithoutUserInput | OrganizationCustomerUncheckedUpdateWithoutUserInput No

OrganizationCustomerUpdateManyWithWhereWithoutUserInput

Name Type Nullable
where OrganizationCustomerScalarWhereInput No
data OrganizationCustomerUpdateManyMutationInput | OrganizationCustomerUncheckedUpdateManyWithoutUserInput No


PaymentUpdateWithWhereUniqueWithoutUserInput

Name Type Nullable
where PaymentWhereUniqueInput No
data PaymentUpdateWithoutUserInput | PaymentUncheckedUpdateWithoutUserInput No

PaymentUpdateManyWithWhereWithoutUserInput

Name Type Nullable
where PaymentScalarWhereInput No
data PaymentUpdateManyMutationInput | PaymentUncheckedUpdateManyWithoutUserInput No


SaleUpdateWithWhereUniqueWithoutResponsibleInput

Name Type Nullable
where SaleWhereUniqueInput No
data SaleUpdateWithoutResponsibleInput | SaleUncheckedUpdateWithoutResponsibleInput No

SaleUpdateManyWithWhereWithoutResponsibleInput

Name Type Nullable
where SaleScalarWhereInput No
data SaleUpdateManyMutationInput | SaleUncheckedUpdateManyWithoutResponsibleInput No


PurchaseUpdateWithWhereUniqueWithoutResponsibleInput

Name Type Nullable
where PurchaseWhereUniqueInput No
data PurchaseUpdateWithoutResponsibleInput | PurchaseUncheckedUpdateWithoutResponsibleInput No

PurchaseUpdateManyWithWhereWithoutResponsibleInput

Name Type Nullable
where PurchaseScalarWhereInput No
data PurchaseUpdateManyMutationInput | PurchaseUncheckedUpdateManyWithoutResponsibleInput No


UserPhoneUpdateWithWhereUniqueWithoutUserInput

Name Type Nullable
where UserPhoneWhereUniqueInput No
data UserPhoneUpdateWithoutUserInput | UserPhoneUncheckedUpdateWithoutUserInput No

UserPhoneUpdateManyWithWhereWithoutUserInput

Name Type Nullable
where UserPhoneScalarWhereInput No
data UserPhoneUpdateManyMutationInput | UserPhoneUncheckedUpdateManyWithoutUserInput No

UserPhoneScalarWhereInput

Name Type Nullable
AND UserPhoneScalarWhereInput | UserPhoneScalarWhereInput[] No
OR UserPhoneScalarWhereInput[] No
NOT UserPhoneScalarWhereInput | UserPhoneScalarWhereInput[] No
id StringFilter | String No
userId StringFilter | String No
phone StringFilter | String No
note StringNullableFilter | String | Null Yes
isPrimary BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


AuditLogUpdateWithWhereUniqueWithoutUserInput

Name Type Nullable
where AuditLogWhereUniqueInput No
data AuditLogUpdateWithoutUserInput | AuditLogUncheckedUpdateWithoutUserInput No

AuditLogUpdateManyWithWhereWithoutUserInput

Name Type Nullable
where AuditLogScalarWhereInput No
data AuditLogUpdateManyMutationInput | AuditLogUncheckedUpdateManyWithoutUserInput No


DocumentUpdateWithWhereUniqueWithoutUploadedByInput

Name Type Nullable
where DocumentWhereUniqueInput No
data DocumentUpdateWithoutUploadedByInput | DocumentUncheckedUpdateWithoutUploadedByInput No

DocumentUpdateManyWithWhereWithoutUploadedByInput

Name Type Nullable
where DocumentScalarWhereInput No
data DocumentUpdateManyMutationInput | DocumentUncheckedUpdateManyWithoutUploadedByInput No


InstallmentPaymentUpdateWithWhereUniqueWithoutCreated_byInput

Name Type Nullable
where InstallmentPaymentWhereUniqueInput No
data InstallmentPaymentUpdateWithoutCreated_byInput | InstallmentPaymentUncheckedUpdateWithoutCreated_byInput No

InstallmentPaymentUpdateManyWithWhereWithoutCreated_byInput

Name Type Nullable
where InstallmentPaymentScalarWhereInput No
data InstallmentPaymentUpdateManyMutationInput | InstallmentPaymentUncheckedUpdateManyWithoutCreated_byInput No

InstallmentPaymentScalarWhereInput

Name Type Nullable
AND InstallmentPaymentScalarWhereInput | InstallmentPaymentScalarWhereInput[] No
OR InstallmentPaymentScalarWhereInput[] No
NOT InstallmentPaymentScalarWhereInput | InstallmentPaymentScalarWhereInput[] No
id StringFilter | String No
installmentId StringFilter | String No
amount DecimalFilter | Decimal No
paidAt DateTimeFilter | DateTime No
paymentMethod StringNullableFilter | String | Null Yes
note StringNullableFilter | String | Null Yes
createdById StringNullableFilter | String | Null Yes
paymentId StringNullableFilter | String | Null Yes

UserCreateWithoutProfileInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
role RoleCreateNestedOneWithoutUsersInput No
org_links OrganizationUserCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerCreateNestedManyWithoutUserInput No
payments PaymentCreateNestedManyWithoutUserInput No
sales SaleCreateNestedManyWithoutResponsibleInput No
purchases PurchaseCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneCreateNestedManyWithoutUserInput No
audit_logs AuditLogCreateNestedManyWithoutUserInput No
documents DocumentCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutCreated_byInput No

UserUncheckedCreateWithoutProfileInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
roleId String | Null Yes
org_links OrganizationUserUncheckedCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput No
payments PaymentUncheckedCreateNestedManyWithoutUserInput No
sales SaleUncheckedCreateNestedManyWithoutResponsibleInput No
purchases PurchaseUncheckedCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneUncheckedCreateNestedManyWithoutUserInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutUserInput No
documents DocumentUncheckedCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput No

UserCreateOrConnectWithoutProfileInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutProfileInput | UserUncheckedCreateWithoutProfileInput No


UserUpdateToOneWithWhereWithoutProfileInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutProfileInput | UserUncheckedUpdateWithoutProfileInput No

UserUpdateWithoutProfileInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
role RoleUpdateOneWithoutUsersNestedInput No
org_links OrganizationUserUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUpdateManyWithoutUserNestedInput No
payments PaymentUpdateManyWithoutUserNestedInput No
sales SaleUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUpdateManyWithoutUserNestedInput No
documents DocumentUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUpdateManyWithoutCreated_byNestedInput No

UserUncheckedUpdateWithoutProfileInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
roleId String | NullableStringFieldUpdateOperationsInput | Null Yes
org_links OrganizationUserUncheckedUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUncheckedUpdateManyWithoutUserNestedInput No
payments PaymentUncheckedUpdateManyWithoutUserNestedInput No
sales SaleUncheckedUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUncheckedUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutUserNestedInput No
documents DocumentUncheckedUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutCreated_byNestedInput No

UserCreateWithoutRoleInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
profile UserProfileCreateNestedOneWithoutUserInput No
org_links OrganizationUserCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerCreateNestedManyWithoutUserInput No
payments PaymentCreateNestedManyWithoutUserInput No
sales SaleCreateNestedManyWithoutResponsibleInput No
purchases PurchaseCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneCreateNestedManyWithoutUserInput No
audit_logs AuditLogCreateNestedManyWithoutUserInput No
documents DocumentCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutCreated_byInput No

UserUncheckedCreateWithoutRoleInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
org_links OrganizationUserUncheckedCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput No
payments PaymentUncheckedCreateNestedManyWithoutUserInput No
sales SaleUncheckedCreateNestedManyWithoutResponsibleInput No
purchases PurchaseUncheckedCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneUncheckedCreateNestedManyWithoutUserInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutUserInput No
documents DocumentUncheckedCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput No

UserCreateOrConnectWithoutRoleInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutRoleInput | UserUncheckedCreateWithoutRoleInput No

UserCreateManyRoleInputEnvelope

Name Type Nullable
data UserCreateManyRoleInput | UserCreateManyRoleInput[] No
skipDuplicates Boolean No

UserUpsertWithWhereUniqueWithoutRoleInput

Name Type Nullable
where UserWhereUniqueInput No
update UserUpdateWithoutRoleInput | UserUncheckedUpdateWithoutRoleInput No
create UserCreateWithoutRoleInput | UserUncheckedCreateWithoutRoleInput No

UserUpdateWithWhereUniqueWithoutRoleInput

Name Type Nullable
where UserWhereUniqueInput No
data UserUpdateWithoutRoleInput | UserUncheckedUpdateWithoutRoleInput No

UserUpdateManyWithWhereWithoutRoleInput

Name Type Nullable
where UserScalarWhereInput No
data UserUpdateManyMutationInput | UserUncheckedUpdateManyWithoutRoleInput No

UserScalarWhereInput

Name Type Nullable
AND UserScalarWhereInput | UserScalarWhereInput[] No
OR UserScalarWhereInput[] No
NOT UserScalarWhereInput | UserScalarWhereInput[] No
id StringFilter | String No
email StringNullableFilter | String | Null Yes
password StringFilter | String No
isActive BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
roleId StringNullableFilter | String | Null Yes

UserCreateWithoutPhone_numbersInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
profile UserProfileCreateNestedOneWithoutUserInput No
role RoleCreateNestedOneWithoutUsersInput No
org_links OrganizationUserCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerCreateNestedManyWithoutUserInput No
payments PaymentCreateNestedManyWithoutUserInput No
sales SaleCreateNestedManyWithoutResponsibleInput No
purchases PurchaseCreateNestedManyWithoutResponsibleInput No
audit_logs AuditLogCreateNestedManyWithoutUserInput No
documents DocumentCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutCreated_byInput No

UserUncheckedCreateWithoutPhone_numbersInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
roleId String | Null Yes
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
org_links OrganizationUserUncheckedCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput No
payments PaymentUncheckedCreateNestedManyWithoutUserInput No
sales SaleUncheckedCreateNestedManyWithoutResponsibleInput No
purchases PurchaseUncheckedCreateNestedManyWithoutResponsibleInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutUserInput No
documents DocumentUncheckedCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput No

UserCreateOrConnectWithoutPhone_numbersInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutPhone_numbersInput | UserUncheckedCreateWithoutPhone_numbersInput No


UserUpdateToOneWithWhereWithoutPhone_numbersInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutPhone_numbersInput | UserUncheckedUpdateWithoutPhone_numbersInput No

UserUpdateWithoutPhone_numbersInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
profile UserProfileUpdateOneWithoutUserNestedInput No
role RoleUpdateOneWithoutUsersNestedInput No
org_links OrganizationUserUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUpdateManyWithoutUserNestedInput No
payments PaymentUpdateManyWithoutUserNestedInput No
sales SaleUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUpdateManyWithoutResponsibleNestedInput No
audit_logs AuditLogUpdateManyWithoutUserNestedInput No
documents DocumentUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUpdateManyWithoutCreated_byNestedInput No

UserUncheckedUpdateWithoutPhone_numbersInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
roleId String | NullableStringFieldUpdateOperationsInput | Null Yes
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
org_links OrganizationUserUncheckedUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUncheckedUpdateManyWithoutUserNestedInput No
payments PaymentUncheckedUpdateManyWithoutUserNestedInput No
sales SaleUncheckedUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutResponsibleNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutUserNestedInput No
documents DocumentUncheckedUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutCreated_byNestedInput No

OrganizationCreateWithoutOrg_usersInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
customers OrganizationCustomerCreateNestedManyWithoutOrganizationInput No
products ProductCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceCreateNestedManyWithoutOrganizationInput No
kassas KassaCreateNestedManyWithoutOrganizationInput No
payments PaymentCreateNestedManyWithoutOrganizationInput No
transactions TransactionCreateNestedManyWithoutOrganizationInput No
sales SaleCreateNestedManyWithoutOrganizationInput No
purchases PurchaseCreateNestedManyWithoutOrganizationInput No
stocks StockCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferCreateNestedManyWithoutOrganizationInput No
settings SettingsCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogCreateNestedManyWithoutOrganizationInput No
documents DocumentCreateNestedManyWithoutOrganizationInput No

OrganizationUncheckedCreateWithoutOrg_usersInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
customers OrganizationCustomerUncheckedCreateNestedManyWithoutOrganizationInput No
products ProductUncheckedCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceUncheckedCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutOrganizationInput No
kassas KassaUncheckedCreateNestedManyWithoutOrganizationInput No
payments PaymentUncheckedCreateNestedManyWithoutOrganizationInput No
transactions TransactionUncheckedCreateNestedManyWithoutOrganizationInput No
sales SaleUncheckedCreateNestedManyWithoutOrganizationInput No
purchases PurchaseUncheckedCreateNestedManyWithoutOrganizationInput No
stocks StockUncheckedCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferUncheckedCreateNestedManyWithoutOrganizationInput No
settings SettingsUncheckedCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutOrganizationInput No
documents DocumentUncheckedCreateNestedManyWithoutOrganizationInput No

OrganizationCreateOrConnectWithoutOrg_usersInput

Name Type Nullable
where OrganizationWhereUniqueInput No
create OrganizationCreateWithoutOrg_usersInput | OrganizationUncheckedCreateWithoutOrg_usersInput No

UserCreateWithoutOrg_linksInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
profile UserProfileCreateNestedOneWithoutUserInput No
role RoleCreateNestedOneWithoutUsersInput No
cutomer_links OrganizationCustomerCreateNestedManyWithoutUserInput No
payments PaymentCreateNestedManyWithoutUserInput No
sales SaleCreateNestedManyWithoutResponsibleInput No
purchases PurchaseCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneCreateNestedManyWithoutUserInput No
audit_logs AuditLogCreateNestedManyWithoutUserInput No
documents DocumentCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutCreated_byInput No

UserUncheckedCreateWithoutOrg_linksInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
roleId String | Null Yes
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
cutomer_links OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput No
payments PaymentUncheckedCreateNestedManyWithoutUserInput No
sales SaleUncheckedCreateNestedManyWithoutResponsibleInput No
purchases PurchaseUncheckedCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneUncheckedCreateNestedManyWithoutUserInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutUserInput No
documents DocumentUncheckedCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput No

UserCreateOrConnectWithoutOrg_linksInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutOrg_linksInput | UserUncheckedCreateWithoutOrg_linksInput No


OrganizationUpdateToOneWithWhereWithoutOrg_usersInput

Name Type Nullable
where OrganizationWhereInput No
data OrganizationUpdateWithoutOrg_usersInput | OrganizationUncheckedUpdateWithoutOrg_usersInput No

OrganizationUpdateWithoutOrg_usersInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
customers OrganizationCustomerUpdateManyWithoutOrganizationNestedInput No
products ProductUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUpdateManyWithoutOrganizationNestedInput No
kassas KassaUpdateManyWithoutOrganizationNestedInput No
payments PaymentUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUpdateManyWithoutOrganizationNestedInput No
sales SaleUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUpdateManyWithoutOrganizationNestedInput No
stocks StockUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUpdateManyWithoutOrganizationNestedInput No
settings SettingsUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUpdateManyWithoutOrganizationNestedInput No
documents DocumentUpdateManyWithoutOrganizationNestedInput No

OrganizationUncheckedUpdateWithoutOrg_usersInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
customers OrganizationCustomerUncheckedUpdateManyWithoutOrganizationNestedInput No
products ProductUncheckedUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUncheckedUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutOrganizationNestedInput No
kassas KassaUncheckedUpdateManyWithoutOrganizationNestedInput No
payments PaymentUncheckedUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUncheckedUpdateManyWithoutOrganizationNestedInput No
sales SaleUncheckedUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutOrganizationNestedInput No
stocks StockUncheckedUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUncheckedUpdateManyWithoutOrganizationNestedInput No
settings SettingsUncheckedUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput No
documents DocumentUncheckedUpdateManyWithoutOrganizationNestedInput No


UserUpdateToOneWithWhereWithoutOrg_linksInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutOrg_linksInput | UserUncheckedUpdateWithoutOrg_linksInput No

UserUpdateWithoutOrg_linksInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
profile UserProfileUpdateOneWithoutUserNestedInput No
role RoleUpdateOneWithoutUsersNestedInput No
cutomer_links OrganizationCustomerUpdateManyWithoutUserNestedInput No
payments PaymentUpdateManyWithoutUserNestedInput No
sales SaleUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUpdateManyWithoutUserNestedInput No
documents DocumentUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUpdateManyWithoutCreated_byNestedInput No

UserUncheckedUpdateWithoutOrg_linksInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
roleId String | NullableStringFieldUpdateOperationsInput | Null Yes
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
cutomer_links OrganizationCustomerUncheckedUpdateManyWithoutUserNestedInput No
payments PaymentUncheckedUpdateManyWithoutUserNestedInput No
sales SaleUncheckedUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUncheckedUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutUserNestedInput No
documents DocumentUncheckedUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutCreated_byNestedInput No

OrganizationCreateWithoutCustomersInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserCreateNestedManyWithoutOrganizationInput No
products ProductCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceCreateNestedManyWithoutOrganizationInput No
kassas KassaCreateNestedManyWithoutOrganizationInput No
payments PaymentCreateNestedManyWithoutOrganizationInput No
transactions TransactionCreateNestedManyWithoutOrganizationInput No
sales SaleCreateNestedManyWithoutOrganizationInput No
purchases PurchaseCreateNestedManyWithoutOrganizationInput No
stocks StockCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferCreateNestedManyWithoutOrganizationInput No
settings SettingsCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogCreateNestedManyWithoutOrganizationInput No
documents DocumentCreateNestedManyWithoutOrganizationInput No

OrganizationUncheckedCreateWithoutCustomersInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserUncheckedCreateNestedManyWithoutOrganizationInput No
products ProductUncheckedCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceUncheckedCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutOrganizationInput No
kassas KassaUncheckedCreateNestedManyWithoutOrganizationInput No
payments PaymentUncheckedCreateNestedManyWithoutOrganizationInput No
transactions TransactionUncheckedCreateNestedManyWithoutOrganizationInput No
sales SaleUncheckedCreateNestedManyWithoutOrganizationInput No
purchases PurchaseUncheckedCreateNestedManyWithoutOrganizationInput No
stocks StockUncheckedCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferUncheckedCreateNestedManyWithoutOrganizationInput No
settings SettingsUncheckedCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutOrganizationInput No
documents DocumentUncheckedCreateNestedManyWithoutOrganizationInput No

OrganizationCreateOrConnectWithoutCustomersInput

Name Type Nullable
where OrganizationWhereUniqueInput No
create OrganizationCreateWithoutCustomersInput | OrganizationUncheckedCreateWithoutCustomersInput No

UserCreateWithoutCutomer_linksInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
profile UserProfileCreateNestedOneWithoutUserInput No
role RoleCreateNestedOneWithoutUsersInput No
org_links OrganizationUserCreateNestedManyWithoutUserInput No
payments PaymentCreateNestedManyWithoutUserInput No
sales SaleCreateNestedManyWithoutResponsibleInput No
purchases PurchaseCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneCreateNestedManyWithoutUserInput No
audit_logs AuditLogCreateNestedManyWithoutUserInput No
documents DocumentCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutCreated_byInput No

UserUncheckedCreateWithoutCutomer_linksInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
roleId String | Null Yes
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
org_links OrganizationUserUncheckedCreateNestedManyWithoutUserInput No
payments PaymentUncheckedCreateNestedManyWithoutUserInput No
sales SaleUncheckedCreateNestedManyWithoutResponsibleInput No
purchases PurchaseUncheckedCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneUncheckedCreateNestedManyWithoutUserInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutUserInput No
documents DocumentUncheckedCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput No

UserCreateOrConnectWithoutCutomer_linksInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutCutomer_linksInput | UserUncheckedCreateWithoutCutomer_linksInput No

ProductInstanceCreateWithoutCurrent_ownerInput

Name Type Nullable
id String No
serialNumber String No
currentStatus ProductStatus No
createdAt DateTime No
updatedAt DateTime No
productVariant ProductVariantCreateNestedOneWithoutProduct_instanceInput No
organization OrganizationCreateNestedOneWithoutProduct_instancesInput No
transactions ProductTransactionCreateNestedManyWithoutProduct_instanceInput No

ProductInstanceUncheckedCreateWithoutCurrent_ownerInput

Name Type Nullable
id String No
productVariantId String | Null Yes
serialNumber String No
currentStatus ProductStatus No
organizationId String No
createdAt DateTime No
updatedAt DateTime No
transactions ProductTransactionUncheckedCreateNestedManyWithoutProduct_instanceInput No

ProductInstanceCreateOrConnectWithoutCurrent_ownerInput

Name Type Nullable
where ProductInstanceWhereUniqueInput No
create ProductInstanceCreateWithoutCurrent_ownerInput | ProductInstanceUncheckedCreateWithoutCurrent_ownerInput No

ProductInstanceCreateManyCurrent_ownerInputEnvelope

Name Type Nullable
data ProductInstanceCreateManyCurrent_ownerInput | ProductInstanceCreateManyCurrent_ownerInput[] No
skipDuplicates Boolean No

PaymentCreateWithoutCustomerInput

Name Type Nullable
id String No
amount Decimal No
type PaymentType No
description String | Null Yes
createdAt DateTime No
organization OrganizationCreateNestedOneWithoutPaymentsInput No
user UserCreateNestedOneWithoutPaymentsInput No
kassa KassaCreateNestedOneWithoutPaymentsInput No
currency CurrencyCreateNestedOneWithoutPaymentsInput No
purchase PurchaseCreateNestedOneWithoutPaymentsInput No
sale SaleCreateNestedOneWithoutPaymentsInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutPaymentInput No

PaymentUncheckedCreateWithoutCustomerInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
kassaId String No
amount Decimal No
currencyId String No
type PaymentType No
description String | Null Yes
purchaseId String | Null Yes
saleId String | Null Yes
createdAt DateTime No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutPaymentInput No

PaymentCreateOrConnectWithoutCustomerInput

Name Type Nullable
where PaymentWhereUniqueInput No
create PaymentCreateWithoutCustomerInput | PaymentUncheckedCreateWithoutCustomerInput No

PaymentCreateManyCustomerInputEnvelope

Name Type Nullable
data PaymentCreateManyCustomerInput | PaymentCreateManyCustomerInput[] No
skipDuplicates Boolean No

TransactionCreateWithoutCustomerInput

Name Type Nullable
id String No
relatedType RelatedType No
relatedId String No
date DateTime No
debit Decimal No
credit Decimal No
balanceAfter Decimal No
description String | Null Yes
organization OrganizationCreateNestedOneWithoutTransactionsInput No
currency CurrencyCreateNestedOneWithoutTransactionsInput No

TransactionUncheckedCreateWithoutCustomerInput

Name Type Nullable
id String No
organizationId String No
relatedType RelatedType No
relatedId String No
date DateTime No
debit Decimal No
credit Decimal No
balanceAfter Decimal No
currencyId String No
description String | Null Yes

TransactionCreateOrConnectWithoutCustomerInput

Name Type Nullable
where TransactionWhereUniqueInput No
create TransactionCreateWithoutCustomerInput | TransactionUncheckedCreateWithoutCustomerInput No

TransactionCreateManyCustomerInputEnvelope

Name Type Nullable
data TransactionCreateManyCustomerInput | TransactionCreateManyCustomerInput[] No
skipDuplicates Boolean No

SaleCreateWithoutCustomerInput

Name Type Nullable
id String No
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutSalesInput No
responsible UserCreateNestedOneWithoutSalesInput No
currency CurrencyCreateNestedOneWithoutSalesInput No
kassa KassaCreateNestedOneWithoutSalesInput No
items SaleItemCreateNestedManyWithoutSaleInput No
payments PaymentCreateNestedManyWithoutSaleInput No
installments InstallmentCreateNestedManyWithoutSaleInput No
documents DocumentCreateNestedManyWithoutSaleInput No

SaleUncheckedCreateWithoutCustomerInput

Name Type Nullable
id String No
organizationId String No
responsibleId String No
kassaId String | Null Yes
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
items SaleItemUncheckedCreateNestedManyWithoutSaleInput No
payments PaymentUncheckedCreateNestedManyWithoutSaleInput No
installments InstallmentUncheckedCreateNestedManyWithoutSaleInput No
documents DocumentUncheckedCreateNestedManyWithoutSaleInput No

SaleCreateOrConnectWithoutCustomerInput

Name Type Nullable
where SaleWhereUniqueInput No
create SaleCreateWithoutCustomerInput | SaleUncheckedCreateWithoutCustomerInput No

SaleCreateManyCustomerInputEnvelope

Name Type Nullable
data SaleCreateManyCustomerInput | SaleCreateManyCustomerInput[] No
skipDuplicates Boolean No

PurchaseCreateWithoutSupplierInput

Name Type Nullable
id String No
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutPurchasesInput No
responsible UserCreateNestedOneWithoutPurchasesInput No
currency CurrencyCreateNestedOneWithoutPurchasesInput No
kassa KassaCreateNestedOneWithoutPurchasesInput No
items PurchaseItemCreateNestedManyWithoutPurchaseInput No
payments PaymentCreateNestedManyWithoutPurchaseInput No

PurchaseUncheckedCreateWithoutSupplierInput

Name Type Nullable
id String No
organizationId String No
responsibleId String | Null Yes
kassaId String | Null Yes
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
items PurchaseItemUncheckedCreateNestedManyWithoutPurchaseInput No
payments PaymentUncheckedCreateNestedManyWithoutPurchaseInput No

PurchaseCreateOrConnectWithoutSupplierInput

Name Type Nullable
where PurchaseWhereUniqueInput No
create PurchaseCreateWithoutSupplierInput | PurchaseUncheckedCreateWithoutSupplierInput No

PurchaseCreateManySupplierInputEnvelope

Name Type Nullable
data PurchaseCreateManySupplierInput | PurchaseCreateManySupplierInput[] No
skipDuplicates Boolean No

InstallmentCreateWithoutCustomerInput

Name Type Nullable
id String No
totalAmount Decimal No
initialPayment Decimal No
paidAmount Decimal No
remaining Decimal No
totalMonths Int No
monthsLeft Int No
monthlyPayment Decimal No
dueDate DateTime No
status InstallmentStatus No
createdAt DateTime No
updatedAt DateTime No
sale SaleCreateNestedOneWithoutInstallmentsInput No
payments InstallmentPaymentCreateNestedManyWithoutInstallmentInput No

InstallmentUncheckedCreateWithoutCustomerInput

Name Type Nullable
id String No
saleId String No
totalAmount Decimal No
initialPayment Decimal No
paidAmount Decimal No
remaining Decimal No
totalMonths Int No
monthsLeft Int No
monthlyPayment Decimal No
dueDate DateTime No
status InstallmentStatus No
createdAt DateTime No
updatedAt DateTime No
payments InstallmentPaymentUncheckedCreateNestedManyWithoutInstallmentInput No

InstallmentCreateOrConnectWithoutCustomerInput

Name Type Nullable
where InstallmentWhereUniqueInput No
create InstallmentCreateWithoutCustomerInput | InstallmentUncheckedCreateWithoutCustomerInput No

InstallmentCreateManyCustomerInputEnvelope

Name Type Nullable
data InstallmentCreateManyCustomerInput | InstallmentCreateManyCustomerInput[] No
skipDuplicates Boolean No

DocumentCreateWithoutCustomerInput

Name Type Nullable
id String No
type DocumentType No
fileUrl String No
createdAt DateTime No
uploadedBy UserCreateNestedOneWithoutDocumentsInput No
organization OrganizationCreateNestedOneWithoutDocumentsInput No
sale SaleCreateNestedOneWithoutDocumentsInput No

DocumentUncheckedCreateWithoutCustomerInput

Name Type Nullable
id String No
organizationId String No
saleId String | Null Yes
type DocumentType No
fileUrl String No
uploadedById String | Null Yes
createdAt DateTime No

DocumentCreateOrConnectWithoutCustomerInput

Name Type Nullable
where DocumentWhereUniqueInput No
create DocumentCreateWithoutCustomerInput | DocumentUncheckedCreateWithoutCustomerInput No

DocumentCreateManyCustomerInputEnvelope

Name Type Nullable
data DocumentCreateManyCustomerInput | DocumentCreateManyCustomerInput[] No
skipDuplicates Boolean No


OrganizationUpdateToOneWithWhereWithoutCustomersInput

Name Type Nullable
where OrganizationWhereInput No
data OrganizationUpdateWithoutCustomersInput | OrganizationUncheckedUpdateWithoutCustomersInput No

OrganizationUpdateWithoutCustomersInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUpdateManyWithoutOrganizationNestedInput No
products ProductUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUpdateManyWithoutOrganizationNestedInput No
kassas KassaUpdateManyWithoutOrganizationNestedInput No
payments PaymentUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUpdateManyWithoutOrganizationNestedInput No
sales SaleUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUpdateManyWithoutOrganizationNestedInput No
stocks StockUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUpdateManyWithoutOrganizationNestedInput No
settings SettingsUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUpdateManyWithoutOrganizationNestedInput No
documents DocumentUpdateManyWithoutOrganizationNestedInput No

OrganizationUncheckedUpdateWithoutCustomersInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUncheckedUpdateManyWithoutOrganizationNestedInput No
products ProductUncheckedUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUncheckedUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutOrganizationNestedInput No
kassas KassaUncheckedUpdateManyWithoutOrganizationNestedInput No
payments PaymentUncheckedUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUncheckedUpdateManyWithoutOrganizationNestedInput No
sales SaleUncheckedUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutOrganizationNestedInput No
stocks StockUncheckedUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUncheckedUpdateManyWithoutOrganizationNestedInput No
settings SettingsUncheckedUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput No
documents DocumentUncheckedUpdateManyWithoutOrganizationNestedInput No


UserUpdateToOneWithWhereWithoutCutomer_linksInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutCutomer_linksInput | UserUncheckedUpdateWithoutCutomer_linksInput No

UserUpdateWithoutCutomer_linksInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
profile UserProfileUpdateOneWithoutUserNestedInput No
role RoleUpdateOneWithoutUsersNestedInput No
org_links OrganizationUserUpdateManyWithoutUserNestedInput No
payments PaymentUpdateManyWithoutUserNestedInput No
sales SaleUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUpdateManyWithoutUserNestedInput No
documents DocumentUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUpdateManyWithoutCreated_byNestedInput No

UserUncheckedUpdateWithoutCutomer_linksInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
roleId String | NullableStringFieldUpdateOperationsInput | Null Yes
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
org_links OrganizationUserUncheckedUpdateManyWithoutUserNestedInput No
payments PaymentUncheckedUpdateManyWithoutUserNestedInput No
sales SaleUncheckedUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUncheckedUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutUserNestedInput No
documents DocumentUncheckedUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutCreated_byNestedInput No


ProductInstanceUpdateWithWhereUniqueWithoutCurrent_ownerInput

Name Type Nullable
where ProductInstanceWhereUniqueInput No
data ProductInstanceUpdateWithoutCurrent_ownerInput | ProductInstanceUncheckedUpdateWithoutCurrent_ownerInput No

ProductInstanceUpdateManyWithWhereWithoutCurrent_ownerInput

Name Type Nullable
where ProductInstanceScalarWhereInput No
data ProductInstanceUpdateManyMutationInput | ProductInstanceUncheckedUpdateManyWithoutCurrent_ownerInput No


PaymentUpdateWithWhereUniqueWithoutCustomerInput

Name Type Nullable
where PaymentWhereUniqueInput No
data PaymentUpdateWithoutCustomerInput | PaymentUncheckedUpdateWithoutCustomerInput No

PaymentUpdateManyWithWhereWithoutCustomerInput

Name Type Nullable
where PaymentScalarWhereInput No
data PaymentUpdateManyMutationInput | PaymentUncheckedUpdateManyWithoutCustomerInput No


TransactionUpdateWithWhereUniqueWithoutCustomerInput

Name Type Nullable
where TransactionWhereUniqueInput No
data TransactionUpdateWithoutCustomerInput | TransactionUncheckedUpdateWithoutCustomerInput No

TransactionUpdateManyWithWhereWithoutCustomerInput

Name Type Nullable
where TransactionScalarWhereInput No
data TransactionUpdateManyMutationInput | TransactionUncheckedUpdateManyWithoutCustomerInput No


SaleUpdateWithWhereUniqueWithoutCustomerInput

Name Type Nullable
where SaleWhereUniqueInput No
data SaleUpdateWithoutCustomerInput | SaleUncheckedUpdateWithoutCustomerInput No

SaleUpdateManyWithWhereWithoutCustomerInput

Name Type Nullable
where SaleScalarWhereInput No
data SaleUpdateManyMutationInput | SaleUncheckedUpdateManyWithoutCustomerInput No


PurchaseUpdateWithWhereUniqueWithoutSupplierInput

Name Type Nullable
where PurchaseWhereUniqueInput No
data PurchaseUpdateWithoutSupplierInput | PurchaseUncheckedUpdateWithoutSupplierInput No

PurchaseUpdateManyWithWhereWithoutSupplierInput

Name Type Nullable
where PurchaseScalarWhereInput No
data PurchaseUpdateManyMutationInput | PurchaseUncheckedUpdateManyWithoutSupplierInput No


InstallmentUpdateWithWhereUniqueWithoutCustomerInput

Name Type Nullable
where InstallmentWhereUniqueInput No
data InstallmentUpdateWithoutCustomerInput | InstallmentUncheckedUpdateWithoutCustomerInput No

InstallmentUpdateManyWithWhereWithoutCustomerInput

Name Type Nullable
where InstallmentScalarWhereInput No
data InstallmentUpdateManyMutationInput | InstallmentUncheckedUpdateManyWithoutCustomerInput No

InstallmentScalarWhereInput

Name Type Nullable
AND InstallmentScalarWhereInput | InstallmentScalarWhereInput[] No
OR InstallmentScalarWhereInput[] No
NOT InstallmentScalarWhereInput | InstallmentScalarWhereInput[] No
id StringFilter | String No
saleId StringFilter | String No
customerId StringFilter | String No
totalAmount DecimalFilter | Decimal No
initialPayment DecimalFilter | Decimal No
paidAmount DecimalFilter | Decimal No
remaining DecimalFilter | Decimal No
totalMonths IntFilter | Int No
monthsLeft IntFilter | Int No
monthlyPayment DecimalFilter | Decimal No
dueDate DateTimeFilter | DateTime No
status EnumInstallmentStatusFilter | InstallmentStatus No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


DocumentUpdateWithWhereUniqueWithoutCustomerInput

Name Type Nullable
where DocumentWhereUniqueInput No
data DocumentUpdateWithoutCustomerInput | DocumentUncheckedUpdateWithoutCustomerInput No

DocumentUpdateManyWithWhereWithoutCustomerInput

Name Type Nullable
where DocumentScalarWhereInput No
data DocumentUpdateManyMutationInput | DocumentUncheckedUpdateManyWithoutCustomerInput No

ProductCreateWithoutBrandInput

Name Type Nullable
id String No
code String No
name String No
description String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutProductsInput No
categories ProductCategoryCreateNestedManyWithoutProductInput No
prices ProductPriceCreateNestedManyWithoutProductInput No
variants ProductVariantCreateNestedManyWithoutProductInput No
images ProductImageCreateNestedManyWithoutProductInput No

ProductUncheckedCreateWithoutBrandInput

Name Type Nullable
id String No
code String No
organizationId String No
name String No
description String | Null Yes
createdAt DateTime No
updatedAt DateTime No
categories ProductCategoryUncheckedCreateNestedManyWithoutProductInput No
prices ProductPriceUncheckedCreateNestedManyWithoutProductInput No
variants ProductVariantUncheckedCreateNestedManyWithoutProductInput No
images ProductImageUncheckedCreateNestedManyWithoutProductInput No

ProductCreateOrConnectWithoutBrandInput

Name Type Nullable
where ProductWhereUniqueInput No
create ProductCreateWithoutBrandInput | ProductUncheckedCreateWithoutBrandInput No

ProductCreateManyBrandInputEnvelope

Name Type Nullable
data ProductCreateManyBrandInput | ProductCreateManyBrandInput[] No
skipDuplicates Boolean No


ProductUpdateWithWhereUniqueWithoutBrandInput

Name Type Nullable
where ProductWhereUniqueInput No
data ProductUpdateWithoutBrandInput | ProductUncheckedUpdateWithoutBrandInput No

ProductUpdateManyWithWhereWithoutBrandInput

Name Type Nullable
where ProductScalarWhereInput No
data ProductUpdateManyMutationInput | ProductUncheckedUpdateManyWithoutBrandInput No

ProductCreateWithoutImagesInput

Name Type Nullable
id String No
code String No
name String No
description String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutProductsInput No
brand BrandCreateNestedOneWithoutProductsInput No
categories ProductCategoryCreateNestedManyWithoutProductInput No
prices ProductPriceCreateNestedManyWithoutProductInput No
variants ProductVariantCreateNestedManyWithoutProductInput No

ProductUncheckedCreateWithoutImagesInput

Name Type Nullable
id String No
code String No
organizationId String No
name String No
description String | Null Yes
brandId String | Null Yes
createdAt DateTime No
updatedAt DateTime No
categories ProductCategoryUncheckedCreateNestedManyWithoutProductInput No
prices ProductPriceUncheckedCreateNestedManyWithoutProductInput No
variants ProductVariantUncheckedCreateNestedManyWithoutProductInput No

ProductCreateOrConnectWithoutImagesInput

Name Type Nullable
where ProductWhereUniqueInput No
create ProductCreateWithoutImagesInput | ProductUncheckedCreateWithoutImagesInput No

ProductVariantCreateWithoutImagesInput

Name Type Nullable
id String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
createdAt DateTime No
updatedAt DateTime No
currency CurrencyCreateNestedOneWithoutProduct_variantInput No
product ProductCreateNestedOneWithoutVariantsInput No
product_instance ProductInstanceCreateNestedManyWithoutProductVariantInput No
product_variant_attribute ProductVariantAttributeCreateNestedManyWithoutVariantInput No
product_batches ProductBatchCreateNestedManyWithoutProduct_variantInput No
stocks StockCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemCreateNestedManyWithoutProduct_variantInput No

ProductVariantUncheckedCreateWithoutImagesInput

Name Type Nullable
id String No
productId String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
currencyId String | Null Yes
createdAt DateTime No
updatedAt DateTime No
product_instance ProductInstanceUncheckedCreateNestedManyWithoutProductVariantInput No
product_variant_attribute ProductVariantAttributeUncheckedCreateNestedManyWithoutVariantInput No
product_batches ProductBatchUncheckedCreateNestedManyWithoutProduct_variantInput No
stocks StockUncheckedCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemUncheckedCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemUncheckedCreateNestedManyWithoutProduct_variantInput No

ProductVariantCreateOrConnectWithoutImagesInput

Name Type Nullable
where ProductVariantWhereUniqueInput No
create ProductVariantCreateWithoutImagesInput | ProductVariantUncheckedCreateWithoutImagesInput No


ProductUpdateToOneWithWhereWithoutImagesInput

Name Type Nullable
where ProductWhereInput No
data ProductUpdateWithoutImagesInput | ProductUncheckedUpdateWithoutImagesInput No




ProductVariantUpdateToOneWithWhereWithoutImagesInput

Name Type Nullable
where ProductVariantWhereInput No
data ProductVariantUpdateWithoutImagesInput | ProductVariantUncheckedUpdateWithoutImagesInput No

ProductVariantUpdateWithoutImagesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
currency CurrencyUpdateOneWithoutProduct_variantNestedInput No
product ProductUpdateOneRequiredWithoutVariantsNestedInput No
product_instance ProductInstanceUpdateManyWithoutProductVariantNestedInput No
product_variant_attribute ProductVariantAttributeUpdateManyWithoutVariantNestedInput No
product_batches ProductBatchUpdateManyWithoutProduct_variantNestedInput No
stocks StockUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUpdateManyWithoutProduct_variantNestedInput No

ProductVariantUncheckedUpdateWithoutImagesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
currencyId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instance ProductInstanceUncheckedUpdateManyWithoutProductVariantNestedInput No
product_variant_attribute ProductVariantAttributeUncheckedUpdateManyWithoutVariantNestedInput No
product_batches ProductBatchUncheckedUpdateManyWithoutProduct_variantNestedInput No
stocks StockUncheckedUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUncheckedUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUncheckedUpdateManyWithoutProduct_variantNestedInput No

OrganizationCreateWithoutProductsInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceCreateNestedManyWithoutOrganizationInput No
kassas KassaCreateNestedManyWithoutOrganizationInput No
payments PaymentCreateNestedManyWithoutOrganizationInput No
transactions TransactionCreateNestedManyWithoutOrganizationInput No
sales SaleCreateNestedManyWithoutOrganizationInput No
purchases PurchaseCreateNestedManyWithoutOrganizationInput No
stocks StockCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferCreateNestedManyWithoutOrganizationInput No
settings SettingsCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogCreateNestedManyWithoutOrganizationInput No
documents DocumentCreateNestedManyWithoutOrganizationInput No

OrganizationUncheckedCreateWithoutProductsInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserUncheckedCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerUncheckedCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceUncheckedCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutOrganizationInput No
kassas KassaUncheckedCreateNestedManyWithoutOrganizationInput No
payments PaymentUncheckedCreateNestedManyWithoutOrganizationInput No
transactions TransactionUncheckedCreateNestedManyWithoutOrganizationInput No
sales SaleUncheckedCreateNestedManyWithoutOrganizationInput No
purchases PurchaseUncheckedCreateNestedManyWithoutOrganizationInput No
stocks StockUncheckedCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferUncheckedCreateNestedManyWithoutOrganizationInput No
settings SettingsUncheckedCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutOrganizationInput No
documents DocumentUncheckedCreateNestedManyWithoutOrganizationInput No

OrganizationCreateOrConnectWithoutProductsInput

Name Type Nullable
where OrganizationWhereUniqueInput No
create OrganizationCreateWithoutProductsInput | OrganizationUncheckedCreateWithoutProductsInput No

BrandCreateWithoutProductsInput

Name Type Nullable
id String No
name String No
createdAt DateTime No
updatedAt DateTime No

BrandUncheckedCreateWithoutProductsInput

Name Type Nullable
id String No
name String No
createdAt DateTime No
updatedAt DateTime No

BrandCreateOrConnectWithoutProductsInput

Name Type Nullable
where BrandWhereUniqueInput No
create BrandCreateWithoutProductsInput | BrandUncheckedCreateWithoutProductsInput No

ProductCategoryCreateWithoutProductInput

Name Type Nullable
category CategoryCreateNestedOneWithoutProductsInput No

ProductCategoryUncheckedCreateWithoutProductInput

Name Type Nullable
categoryId String No

ProductCategoryCreateOrConnectWithoutProductInput

Name Type Nullable
where ProductCategoryWhereUniqueInput No
create ProductCategoryCreateWithoutProductInput | ProductCategoryUncheckedCreateWithoutProductInput No

ProductCategoryCreateManyProductInputEnvelope

Name Type Nullable
data ProductCategoryCreateManyProductInput | ProductCategoryCreateManyProductInput[] No
skipDuplicates Boolean No

ProductPriceCreateWithoutProductInput

Name Type Nullable
id String No
priceType PriceType No
amount Decimal No
customerType CustomerType | Null Yes
createdAt DateTime No
updatedAt DateTime No
currency CurrencyCreateNestedOneWithoutProduct_pricesInput No
organization OrganizationCreateNestedOneWithoutProduct_pricesInput No

ProductPriceUncheckedCreateWithoutProductInput

Name Type Nullable
id String No
organizationId String | Null Yes
priceType PriceType No
amount Decimal No
currencyId String No
customerType CustomerType | Null Yes
createdAt DateTime No
updatedAt DateTime No

ProductPriceCreateOrConnectWithoutProductInput

Name Type Nullable
where ProductPriceWhereUniqueInput No
create ProductPriceCreateWithoutProductInput | ProductPriceUncheckedCreateWithoutProductInput No

ProductPriceCreateManyProductInputEnvelope

Name Type Nullable
data ProductPriceCreateManyProductInput | ProductPriceCreateManyProductInput[] No
skipDuplicates Boolean No

ProductVariantCreateWithoutProductInput

Name Type Nullable
id String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
createdAt DateTime No
updatedAt DateTime No
currency CurrencyCreateNestedOneWithoutProduct_variantInput No
product_instance ProductInstanceCreateNestedManyWithoutProductVariantInput No
product_variant_attribute ProductVariantAttributeCreateNestedManyWithoutVariantInput No
product_batches ProductBatchCreateNestedManyWithoutProduct_variantInput No
stocks StockCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemCreateNestedManyWithoutProduct_variantInput No
images ProductImageCreateNestedManyWithoutProductVariantInput No

ProductVariantUncheckedCreateWithoutProductInput

Name Type Nullable
id String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
currencyId String | Null Yes
createdAt DateTime No
updatedAt DateTime No
product_instance ProductInstanceUncheckedCreateNestedManyWithoutProductVariantInput No
product_variant_attribute ProductVariantAttributeUncheckedCreateNestedManyWithoutVariantInput No
product_batches ProductBatchUncheckedCreateNestedManyWithoutProduct_variantInput No
stocks StockUncheckedCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemUncheckedCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemUncheckedCreateNestedManyWithoutProduct_variantInput No
images ProductImageUncheckedCreateNestedManyWithoutProductVariantInput No

ProductVariantCreateOrConnectWithoutProductInput

Name Type Nullable
where ProductVariantWhereUniqueInput No
create ProductVariantCreateWithoutProductInput | ProductVariantUncheckedCreateWithoutProductInput No

ProductVariantCreateManyProductInputEnvelope

Name Type Nullable
data ProductVariantCreateManyProductInput | ProductVariantCreateManyProductInput[] No
skipDuplicates Boolean No

ProductImageCreateWithoutProductInput

Name Type Nullable
id String No
url String No
alt String | Null Yes
isPrimary Boolean No
sortOrder Int No
createdAt DateTime No
productVariant ProductVariantCreateNestedOneWithoutImagesInput No

ProductImageUncheckedCreateWithoutProductInput

Name Type Nullable
id String No
productVariantId String | Null Yes
url String No
alt String | Null Yes
isPrimary Boolean No
sortOrder Int No
createdAt DateTime No

ProductImageCreateOrConnectWithoutProductInput

Name Type Nullable
where ProductImageWhereUniqueInput No
create ProductImageCreateWithoutProductInput | ProductImageUncheckedCreateWithoutProductInput No

ProductImageCreateManyProductInputEnvelope

Name Type Nullable
data ProductImageCreateManyProductInput | ProductImageCreateManyProductInput[] No
skipDuplicates Boolean No


OrganizationUpdateToOneWithWhereWithoutProductsInput

Name Type Nullable
where OrganizationWhereInput No
data OrganizationUpdateWithoutProductsInput | OrganizationUncheckedUpdateWithoutProductsInput No

OrganizationUpdateWithoutProductsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUpdateManyWithoutOrganizationNestedInput No
kassas KassaUpdateManyWithoutOrganizationNestedInput No
payments PaymentUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUpdateManyWithoutOrganizationNestedInput No
sales SaleUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUpdateManyWithoutOrganizationNestedInput No
stocks StockUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUpdateManyWithoutOrganizationNestedInput No
settings SettingsUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUpdateManyWithoutOrganizationNestedInput No
documents DocumentUpdateManyWithoutOrganizationNestedInput No

OrganizationUncheckedUpdateWithoutProductsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUncheckedUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUncheckedUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUncheckedUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutOrganizationNestedInput No
kassas KassaUncheckedUpdateManyWithoutOrganizationNestedInput No
payments PaymentUncheckedUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUncheckedUpdateManyWithoutOrganizationNestedInput No
sales SaleUncheckedUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutOrganizationNestedInput No
stocks StockUncheckedUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUncheckedUpdateManyWithoutOrganizationNestedInput No
settings SettingsUncheckedUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput No
documents DocumentUncheckedUpdateManyWithoutOrganizationNestedInput No


BrandUpdateToOneWithWhereWithoutProductsInput

Name Type Nullable
where BrandWhereInput No
data BrandUpdateWithoutProductsInput | BrandUncheckedUpdateWithoutProductsInput No

BrandUpdateWithoutProductsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

BrandUncheckedUpdateWithoutProductsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


ProductCategoryUpdateWithWhereUniqueWithoutProductInput

Name Type Nullable
where ProductCategoryWhereUniqueInput No
data ProductCategoryUpdateWithoutProductInput | ProductCategoryUncheckedUpdateWithoutProductInput No

ProductCategoryUpdateManyWithWhereWithoutProductInput

Name Type Nullable
where ProductCategoryScalarWhereInput No
data ProductCategoryUpdateManyMutationInput | ProductCategoryUncheckedUpdateManyWithoutProductInput No

ProductCategoryScalarWhereInput

Name Type Nullable
AND ProductCategoryScalarWhereInput | ProductCategoryScalarWhereInput[] No
OR ProductCategoryScalarWhereInput[] No
NOT ProductCategoryScalarWhereInput | ProductCategoryScalarWhereInput[] No
productId StringFilter | String No
categoryId StringFilter | String No


ProductPriceUpdateWithWhereUniqueWithoutProductInput

Name Type Nullable
where ProductPriceWhereUniqueInput No
data ProductPriceUpdateWithoutProductInput | ProductPriceUncheckedUpdateWithoutProductInput No

ProductPriceUpdateManyWithWhereWithoutProductInput

Name Type Nullable
where ProductPriceScalarWhereInput No
data ProductPriceUpdateManyMutationInput | ProductPriceUncheckedUpdateManyWithoutProductInput No


ProductVariantUpdateWithWhereUniqueWithoutProductInput

Name Type Nullable
where ProductVariantWhereUniqueInput No
data ProductVariantUpdateWithoutProductInput | ProductVariantUncheckedUpdateWithoutProductInput No

ProductVariantUpdateManyWithWhereWithoutProductInput

Name Type Nullable
where ProductVariantScalarWhereInput No
data ProductVariantUpdateManyMutationInput | ProductVariantUncheckedUpdateManyWithoutProductInput No


ProductImageUpdateWithWhereUniqueWithoutProductInput

Name Type Nullable
where ProductImageWhereUniqueInput No
data ProductImageUpdateWithoutProductInput | ProductImageUncheckedUpdateWithoutProductInput No

ProductImageUpdateManyWithWhereWithoutProductInput

Name Type Nullable
where ProductImageScalarWhereInput No
data ProductImageUpdateManyMutationInput | ProductImageUncheckedUpdateManyWithoutProductInput No

ProductImageScalarWhereInput

Name Type Nullable
AND ProductImageScalarWhereInput | ProductImageScalarWhereInput[] No
OR ProductImageScalarWhereInput[] No
NOT ProductImageScalarWhereInput | ProductImageScalarWhereInput[] No
id StringFilter | String No
productId StringNullableFilter | String | Null Yes
productVariantId StringNullableFilter | String | Null Yes
url StringFilter | String No
alt StringNullableFilter | String | Null Yes
isPrimary BoolFilter | Boolean No
sortOrder IntFilter | Int No
createdAt DateTimeFilter | DateTime No

CurrencyCreateWithoutProduct_variantInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceCreateNestedManyWithoutCurrencyInput No
kassas KassaCreateNestedManyWithoutCurrencyInput No
payments PaymentCreateNestedManyWithoutCurrencyInput No
transactions TransactionCreateNestedManyWithoutCurrencyInput No
sales SaleCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemCreateNestedManyWithoutCurrencyInput No
purchases PurchaseCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferCreateNestedManyWithoutTo_currencyInput No
settings SettingsCreateNestedManyWithoutBaseCurrencyInput No

CurrencyUncheckedCreateWithoutProduct_variantInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput No
kassas KassaUncheckedCreateNestedManyWithoutCurrencyInput No
payments PaymentUncheckedCreateNestedManyWithoutCurrencyInput No
transactions TransactionUncheckedCreateNestedManyWithoutCurrencyInput No
sales SaleUncheckedCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemUncheckedCreateNestedManyWithoutCurrencyInput No
purchases PurchaseUncheckedCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput No
settings SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput No

CurrencyCreateOrConnectWithoutProduct_variantInput

Name Type Nullable
where CurrencyWhereUniqueInput No
create CurrencyCreateWithoutProduct_variantInput | CurrencyUncheckedCreateWithoutProduct_variantInput No

ProductCreateWithoutVariantsInput

Name Type Nullable
id String No
code String No
name String No
description String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutProductsInput No
brand BrandCreateNestedOneWithoutProductsInput No
categories ProductCategoryCreateNestedManyWithoutProductInput No
prices ProductPriceCreateNestedManyWithoutProductInput No
images ProductImageCreateNestedManyWithoutProductInput No

ProductUncheckedCreateWithoutVariantsInput

Name Type Nullable
id String No
code String No
organizationId String No
name String No
description String | Null Yes
brandId String | Null Yes
createdAt DateTime No
updatedAt DateTime No
categories ProductCategoryUncheckedCreateNestedManyWithoutProductInput No
prices ProductPriceUncheckedCreateNestedManyWithoutProductInput No
images ProductImageUncheckedCreateNestedManyWithoutProductInput No

ProductCreateOrConnectWithoutVariantsInput

Name Type Nullable
where ProductWhereUniqueInput No
create ProductCreateWithoutVariantsInput | ProductUncheckedCreateWithoutVariantsInput No

ProductInstanceCreateWithoutProductVariantInput

Name Type Nullable
id String No
serialNumber String No
currentStatus ProductStatus No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutProduct_instancesInput No
current_owner OrganizationCustomerCreateNestedOneWithoutProduct_instancesInput No
transactions ProductTransactionCreateNestedManyWithoutProduct_instanceInput No

ProductInstanceUncheckedCreateWithoutProductVariantInput

Name Type Nullable
id String No
serialNumber String No
currentOwnerId String | Null Yes
currentStatus ProductStatus No
organizationId String No
createdAt DateTime No
updatedAt DateTime No
transactions ProductTransactionUncheckedCreateNestedManyWithoutProduct_instanceInput No

ProductInstanceCreateOrConnectWithoutProductVariantInput

Name Type Nullable
where ProductInstanceWhereUniqueInput No
create ProductInstanceCreateWithoutProductVariantInput | ProductInstanceUncheckedCreateWithoutProductVariantInput No

ProductInstanceCreateManyProductVariantInputEnvelope

Name Type Nullable
data ProductInstanceCreateManyProductVariantInput | ProductInstanceCreateManyProductVariantInput[] No
skipDuplicates Boolean No

ProductVariantAttributeCreateWithoutVariantInput

Name Type Nullable
id String No
value AttributeValueCreateNestedOneWithoutProduct_variant_attributeInput No

ProductVariantAttributeUncheckedCreateWithoutVariantInput

Name Type Nullable
id String No
attributeValueId String No

ProductVariantAttributeCreateOrConnectWithoutVariantInput

Name Type Nullable
where ProductVariantAttributeWhereUniqueInput No
create ProductVariantAttributeCreateWithoutVariantInput | ProductVariantAttributeUncheckedCreateWithoutVariantInput No

ProductVariantAttributeCreateManyVariantInputEnvelope

Name Type Nullable
data ProductVariantAttributeCreateManyVariantInput | ProductVariantAttributeCreateManyVariantInput[] No
skipDuplicates Boolean No

ProductBatchCreateWithoutProduct_variantInput

Name Type Nullable
id String No
batchNumber String No
expiryDate DateTime | Null Yes
quantity Int No
isValid Boolean No
createdAt DateTime No

ProductBatchUncheckedCreateWithoutProduct_variantInput

Name Type Nullable
id String No
batchNumber String No
expiryDate DateTime | Null Yes
quantity Int No
isValid Boolean No
createdAt DateTime No

ProductBatchCreateOrConnectWithoutProduct_variantInput

Name Type Nullable
where ProductBatchWhereUniqueInput No
create ProductBatchCreateWithoutProduct_variantInput | ProductBatchUncheckedCreateWithoutProduct_variantInput No

ProductBatchCreateManyProduct_variantInputEnvelope

Name Type Nullable
data ProductBatchCreateManyProduct_variantInput | ProductBatchCreateManyProduct_variantInput[] No
skipDuplicates Boolean No

StockCreateWithoutProduct_variantInput

Name Type Nullable
id String No
quantity Int No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutStocksInput No

StockUncheckedCreateWithoutProduct_variantInput

Name Type Nullable
id String No
organizationId String No
quantity Int No
updatedAt DateTime No

StockCreateOrConnectWithoutProduct_variantInput

Name Type Nullable
where StockWhereUniqueInput No
create StockCreateWithoutProduct_variantInput | StockUncheckedCreateWithoutProduct_variantInput No

StockCreateManyProduct_variantInputEnvelope

Name Type Nullable
data StockCreateManyProduct_variantInput | StockCreateManyProduct_variantInput[] No
skipDuplicates Boolean No

PurchaseItemCreateWithoutProduct_variantInput

Name Type Nullable
id String No
quantity Int No
price Decimal No
discount Decimal No
total Decimal No
purchase PurchaseCreateNestedOneWithoutItemsInput No

PurchaseItemUncheckedCreateWithoutProduct_variantInput

Name Type Nullable
id String No
purchaseId String No
quantity Int No
price Decimal No
discount Decimal No
total Decimal No

PurchaseItemCreateOrConnectWithoutProduct_variantInput

Name Type Nullable
where PurchaseItemWhereUniqueInput No
create PurchaseItemCreateWithoutProduct_variantInput | PurchaseItemUncheckedCreateWithoutProduct_variantInput No

PurchaseItemCreateManyProduct_variantInputEnvelope

Name Type Nullable
data PurchaseItemCreateManyProduct_variantInput | PurchaseItemCreateManyProduct_variantInput[] No
skipDuplicates Boolean No

SaleItemCreateWithoutProduct_variantInput

Name Type Nullable
id String No
quantity Int No
price Decimal No
total Decimal No
sale SaleCreateNestedOneWithoutItemsInput No
currency CurrencyCreateNestedOneWithoutSale_itemsInput No

SaleItemUncheckedCreateWithoutProduct_variantInput

Name Type Nullable
id String No
saleId String No
quantity Int No
price Decimal No
total Decimal No
currencyId String No

SaleItemCreateOrConnectWithoutProduct_variantInput

Name Type Nullable
where SaleItemWhereUniqueInput No
create SaleItemCreateWithoutProduct_variantInput | SaleItemUncheckedCreateWithoutProduct_variantInput No

SaleItemCreateManyProduct_variantInputEnvelope

Name Type Nullable
data SaleItemCreateManyProduct_variantInput | SaleItemCreateManyProduct_variantInput[] No
skipDuplicates Boolean No

ProductImageCreateWithoutProductVariantInput

Name Type Nullable
id String No
url String No
alt String | Null Yes
isPrimary Boolean No
sortOrder Int No
createdAt DateTime No
product ProductCreateNestedOneWithoutImagesInput No

ProductImageUncheckedCreateWithoutProductVariantInput

Name Type Nullable
id String No
productId String | Null Yes
url String No
alt String | Null Yes
isPrimary Boolean No
sortOrder Int No
createdAt DateTime No

ProductImageCreateOrConnectWithoutProductVariantInput

Name Type Nullable
where ProductImageWhereUniqueInput No
create ProductImageCreateWithoutProductVariantInput | ProductImageUncheckedCreateWithoutProductVariantInput No

ProductImageCreateManyProductVariantInputEnvelope

Name Type Nullable
data ProductImageCreateManyProductVariantInput | ProductImageCreateManyProductVariantInput[] No
skipDuplicates Boolean No


CurrencyUpdateToOneWithWhereWithoutProduct_variantInput

Name Type Nullable
where CurrencyWhereInput No
data CurrencyUpdateWithoutProduct_variantInput | CurrencyUncheckedUpdateWithoutProduct_variantInput No

CurrencyUpdateWithoutProduct_variantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUpdateManyWithoutCurrencyNestedInput No
kassas KassaUpdateManyWithoutCurrencyNestedInput No
payments PaymentUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUpdateManyWithoutCurrencyNestedInput No
sales SaleUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUpdateManyWithoutBaseCurrencyNestedInput No

CurrencyUncheckedUpdateWithoutProduct_variantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput No
kassas KassaUncheckedUpdateManyWithoutCurrencyNestedInput No
payments PaymentUncheckedUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCurrencyNestedInput No
sales SaleUncheckedUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput No


ProductUpdateToOneWithWhereWithoutVariantsInput

Name Type Nullable
where ProductWhereInput No
data ProductUpdateWithoutVariantsInput | ProductUncheckedUpdateWithoutVariantsInput No




ProductInstanceUpdateWithWhereUniqueWithoutProductVariantInput

Name Type Nullable
where ProductInstanceWhereUniqueInput No
data ProductInstanceUpdateWithoutProductVariantInput | ProductInstanceUncheckedUpdateWithoutProductVariantInput No

ProductInstanceUpdateManyWithWhereWithoutProductVariantInput

Name Type Nullable
where ProductInstanceScalarWhereInput No
data ProductInstanceUpdateManyMutationInput | ProductInstanceUncheckedUpdateManyWithoutProductVariantInput No


ProductVariantAttributeUpdateWithWhereUniqueWithoutVariantInput

Name Type Nullable
where ProductVariantAttributeWhereUniqueInput No
data ProductVariantAttributeUpdateWithoutVariantInput | ProductVariantAttributeUncheckedUpdateWithoutVariantInput No

ProductVariantAttributeUpdateManyWithWhereWithoutVariantInput

Name Type Nullable
where ProductVariantAttributeScalarWhereInput No
data ProductVariantAttributeUpdateManyMutationInput | ProductVariantAttributeUncheckedUpdateManyWithoutVariantInput No

ProductVariantAttributeScalarWhereInput

Name Type Nullable
AND ProductVariantAttributeScalarWhereInput | ProductVariantAttributeScalarWhereInput[] No
OR ProductVariantAttributeScalarWhereInput[] No
NOT ProductVariantAttributeScalarWhereInput | ProductVariantAttributeScalarWhereInput[] No
id StringFilter | String No
productVariantId StringFilter | String No
attributeValueId StringFilter | String No


ProductBatchUpdateWithWhereUniqueWithoutProduct_variantInput

Name Type Nullable
where ProductBatchWhereUniqueInput No
data ProductBatchUpdateWithoutProduct_variantInput | ProductBatchUncheckedUpdateWithoutProduct_variantInput No

ProductBatchUpdateManyWithWhereWithoutProduct_variantInput

Name Type Nullable
where ProductBatchScalarWhereInput No
data ProductBatchUpdateManyMutationInput | ProductBatchUncheckedUpdateManyWithoutProduct_variantInput No

ProductBatchScalarWhereInput

Name Type Nullable
AND ProductBatchScalarWhereInput | ProductBatchScalarWhereInput[] No
OR ProductBatchScalarWhereInput[] No
NOT ProductBatchScalarWhereInput | ProductBatchScalarWhereInput[] No
id StringFilter | String No
productVariantId StringFilter | String No
batchNumber StringFilter | String No
expiryDate DateTimeNullableFilter | DateTime | Null Yes
quantity IntFilter | Int No
isValid BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No


StockUpdateWithWhereUniqueWithoutProduct_variantInput

Name Type Nullable
where StockWhereUniqueInput No
data StockUpdateWithoutProduct_variantInput | StockUncheckedUpdateWithoutProduct_variantInput No

StockUpdateManyWithWhereWithoutProduct_variantInput

Name Type Nullable
where StockScalarWhereInput No
data StockUpdateManyMutationInput | StockUncheckedUpdateManyWithoutProduct_variantInput No


PurchaseItemUpdateWithWhereUniqueWithoutProduct_variantInput

Name Type Nullable
where PurchaseItemWhereUniqueInput No
data PurchaseItemUpdateWithoutProduct_variantInput | PurchaseItemUncheckedUpdateWithoutProduct_variantInput No

PurchaseItemUpdateManyWithWhereWithoutProduct_variantInput

Name Type Nullable
where PurchaseItemScalarWhereInput No
data PurchaseItemUpdateManyMutationInput | PurchaseItemUncheckedUpdateManyWithoutProduct_variantInput No

PurchaseItemScalarWhereInput

Name Type Nullable
AND PurchaseItemScalarWhereInput | PurchaseItemScalarWhereInput[] No
OR PurchaseItemScalarWhereInput[] No
NOT PurchaseItemScalarWhereInput | PurchaseItemScalarWhereInput[] No
id StringFilter | String No
purchaseId StringFilter | String No
productVariantId StringFilter | String No
quantity IntFilter | Int No
price DecimalFilter | Decimal No
discount DecimalFilter | Decimal No
total DecimalFilter | Decimal No


SaleItemUpdateWithWhereUniqueWithoutProduct_variantInput

Name Type Nullable
where SaleItemWhereUniqueInput No
data SaleItemUpdateWithoutProduct_variantInput | SaleItemUncheckedUpdateWithoutProduct_variantInput No

SaleItemUpdateManyWithWhereWithoutProduct_variantInput

Name Type Nullable
where SaleItemScalarWhereInput No
data SaleItemUpdateManyMutationInput | SaleItemUncheckedUpdateManyWithoutProduct_variantInput No


ProductImageUpdateWithWhereUniqueWithoutProductVariantInput

Name Type Nullable
where ProductImageWhereUniqueInput No
data ProductImageUpdateWithoutProductVariantInput | ProductImageUncheckedUpdateWithoutProductVariantInput No

ProductImageUpdateManyWithWhereWithoutProductVariantInput

Name Type Nullable
where ProductImageScalarWhereInput No
data ProductImageUpdateManyMutationInput | ProductImageUncheckedUpdateManyWithoutProductVariantInput No

AttributeValueCreateWithoutAttributeInput

Name Type Nullable
id String No
value String No
product_variant_attribute ProductVariantAttributeCreateNestedManyWithoutValueInput No

AttributeValueUncheckedCreateWithoutAttributeInput

Name Type Nullable
id String No
value String No
product_variant_attribute ProductVariantAttributeUncheckedCreateNestedManyWithoutValueInput No

AttributeValueCreateOrConnectWithoutAttributeInput

Name Type Nullable
where AttributeValueWhereUniqueInput No
create AttributeValueCreateWithoutAttributeInput | AttributeValueUncheckedCreateWithoutAttributeInput No

AttributeValueCreateManyAttributeInputEnvelope

Name Type Nullable
data AttributeValueCreateManyAttributeInput | AttributeValueCreateManyAttributeInput[] No
skipDuplicates Boolean No


AttributeValueUpdateWithWhereUniqueWithoutAttributeInput

Name Type Nullable
where AttributeValueWhereUniqueInput No
data AttributeValueUpdateWithoutAttributeInput | AttributeValueUncheckedUpdateWithoutAttributeInput No

AttributeValueUpdateManyWithWhereWithoutAttributeInput

Name Type Nullable
where AttributeValueScalarWhereInput No
data AttributeValueUpdateManyMutationInput | AttributeValueUncheckedUpdateManyWithoutAttributeInput No

AttributeValueScalarWhereInput

Name Type Nullable
AND AttributeValueScalarWhereInput | AttributeValueScalarWhereInput[] No
OR AttributeValueScalarWhereInput[] No
NOT AttributeValueScalarWhereInput | AttributeValueScalarWhereInput[] No
id StringFilter | String No
attributeId StringFilter | String No
value StringFilter | String No

AttributeCreateWithoutValuesInput

Name Type Nullable
id String No
key String No
name String No

AttributeUncheckedCreateWithoutValuesInput

Name Type Nullable
id String No
key String No
name String No

AttributeCreateOrConnectWithoutValuesInput

Name Type Nullable
where AttributeWhereUniqueInput No
create AttributeCreateWithoutValuesInput | AttributeUncheckedCreateWithoutValuesInput No

ProductVariantAttributeCreateWithoutValueInput

Name Type Nullable
id String No
variant ProductVariantCreateNestedOneWithoutProduct_variant_attributeInput No

ProductVariantAttributeUncheckedCreateWithoutValueInput

Name Type Nullable
id String No
productVariantId String No

ProductVariantAttributeCreateOrConnectWithoutValueInput

Name Type Nullable
where ProductVariantAttributeWhereUniqueInput No
create ProductVariantAttributeCreateWithoutValueInput | ProductVariantAttributeUncheckedCreateWithoutValueInput No

ProductVariantAttributeCreateManyValueInputEnvelope

Name Type Nullable
data ProductVariantAttributeCreateManyValueInput | ProductVariantAttributeCreateManyValueInput[] No
skipDuplicates Boolean No


AttributeUpdateToOneWithWhereWithoutValuesInput

Name Type Nullable
where AttributeWhereInput No
data AttributeUpdateWithoutValuesInput | AttributeUncheckedUpdateWithoutValuesInput No

AttributeUpdateWithoutValuesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
key String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No

AttributeUncheckedUpdateWithoutValuesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
key String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No


ProductVariantAttributeUpdateWithWhereUniqueWithoutValueInput

Name Type Nullable
where ProductVariantAttributeWhereUniqueInput No
data ProductVariantAttributeUpdateWithoutValueInput | ProductVariantAttributeUncheckedUpdateWithoutValueInput No

ProductVariantAttributeUpdateManyWithWhereWithoutValueInput

Name Type Nullable
where ProductVariantAttributeScalarWhereInput No
data ProductVariantAttributeUpdateManyMutationInput | ProductVariantAttributeUncheckedUpdateManyWithoutValueInput No

ProductVariantCreateWithoutProduct_variant_attributeInput

Name Type Nullable
id String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
createdAt DateTime No
updatedAt DateTime No
currency CurrencyCreateNestedOneWithoutProduct_variantInput No
product ProductCreateNestedOneWithoutVariantsInput No
product_instance ProductInstanceCreateNestedManyWithoutProductVariantInput No
product_batches ProductBatchCreateNestedManyWithoutProduct_variantInput No
stocks StockCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemCreateNestedManyWithoutProduct_variantInput No
images ProductImageCreateNestedManyWithoutProductVariantInput No

ProductVariantUncheckedCreateWithoutProduct_variant_attributeInput

Name Type Nullable
id String No
productId String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
currencyId String | Null Yes
createdAt DateTime No
updatedAt DateTime No
product_instance ProductInstanceUncheckedCreateNestedManyWithoutProductVariantInput No
product_batches ProductBatchUncheckedCreateNestedManyWithoutProduct_variantInput No
stocks StockUncheckedCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemUncheckedCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemUncheckedCreateNestedManyWithoutProduct_variantInput No
images ProductImageUncheckedCreateNestedManyWithoutProductVariantInput No

ProductVariantCreateOrConnectWithoutProduct_variant_attributeInput

Name Type Nullable
where ProductVariantWhereUniqueInput No
create ProductVariantCreateWithoutProduct_variant_attributeInput | ProductVariantUncheckedCreateWithoutProduct_variant_attributeInput No

AttributeValueCreateWithoutProduct_variant_attributeInput

Name Type Nullable
id String No
value String No
attribute AttributeCreateNestedOneWithoutValuesInput No

AttributeValueUncheckedCreateWithoutProduct_variant_attributeInput

Name Type Nullable
id String No
attributeId String No
value String No

AttributeValueCreateOrConnectWithoutProduct_variant_attributeInput

Name Type Nullable
where AttributeValueWhereUniqueInput No
create AttributeValueCreateWithoutProduct_variant_attributeInput | AttributeValueUncheckedCreateWithoutProduct_variant_attributeInput No


ProductVariantUpdateToOneWithWhereWithoutProduct_variant_attributeInput

Name Type Nullable
where ProductVariantWhereInput No
data ProductVariantUpdateWithoutProduct_variant_attributeInput | ProductVariantUncheckedUpdateWithoutProduct_variant_attributeInput No

ProductVariantUpdateWithoutProduct_variant_attributeInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
currency CurrencyUpdateOneWithoutProduct_variantNestedInput No
product ProductUpdateOneRequiredWithoutVariantsNestedInput No
product_instance ProductInstanceUpdateManyWithoutProductVariantNestedInput No
product_batches ProductBatchUpdateManyWithoutProduct_variantNestedInput No
stocks StockUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUpdateManyWithoutProductVariantNestedInput No

ProductVariantUncheckedUpdateWithoutProduct_variant_attributeInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
currencyId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instance ProductInstanceUncheckedUpdateManyWithoutProductVariantNestedInput No
product_batches ProductBatchUncheckedUpdateManyWithoutProduct_variantNestedInput No
stocks StockUncheckedUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUncheckedUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUncheckedUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUncheckedUpdateManyWithoutProductVariantNestedInput No


AttributeValueUpdateToOneWithWhereWithoutProduct_variant_attributeInput

Name Type Nullable
where AttributeValueWhereInput No
data AttributeValueUpdateWithoutProduct_variant_attributeInput | AttributeValueUncheckedUpdateWithoutProduct_variant_attributeInput No

AttributeValueUpdateWithoutProduct_variant_attributeInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
value String | StringFieldUpdateOperationsInput No
attribute AttributeUpdateOneRequiredWithoutValuesNestedInput No

AttributeValueUncheckedUpdateWithoutProduct_variant_attributeInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
attributeId String | StringFieldUpdateOperationsInput No
value String | StringFieldUpdateOperationsInput No

ProductCategoryCreateWithoutCategoryInput

Name Type Nullable
product ProductCreateNestedOneWithoutCategoriesInput No

ProductCategoryUncheckedCreateWithoutCategoryInput

Name Type Nullable
productId String No

ProductCategoryCreateOrConnectWithoutCategoryInput

Name Type Nullable
where ProductCategoryWhereUniqueInput No
create ProductCategoryCreateWithoutCategoryInput | ProductCategoryUncheckedCreateWithoutCategoryInput No

ProductCategoryCreateManyCategoryInputEnvelope

Name Type Nullable
data ProductCategoryCreateManyCategoryInput | ProductCategoryCreateManyCategoryInput[] No
skipDuplicates Boolean No


ProductCategoryUpdateWithWhereUniqueWithoutCategoryInput

Name Type Nullable
where ProductCategoryWhereUniqueInput No
data ProductCategoryUpdateWithoutCategoryInput | ProductCategoryUncheckedUpdateWithoutCategoryInput No

ProductCategoryUpdateManyWithWhereWithoutCategoryInput

Name Type Nullable
where ProductCategoryScalarWhereInput No
data ProductCategoryUpdateManyMutationInput | ProductCategoryUncheckedUpdateManyWithoutCategoryInput No

ProductCreateWithoutCategoriesInput

Name Type Nullable
id String No
code String No
name String No
description String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutProductsInput No
brand BrandCreateNestedOneWithoutProductsInput No
prices ProductPriceCreateNestedManyWithoutProductInput No
variants ProductVariantCreateNestedManyWithoutProductInput No
images ProductImageCreateNestedManyWithoutProductInput No

ProductUncheckedCreateWithoutCategoriesInput

Name Type Nullable
id String No
code String No
organizationId String No
name String No
description String | Null Yes
brandId String | Null Yes
createdAt DateTime No
updatedAt DateTime No
prices ProductPriceUncheckedCreateNestedManyWithoutProductInput No
variants ProductVariantUncheckedCreateNestedManyWithoutProductInput No
images ProductImageUncheckedCreateNestedManyWithoutProductInput No

ProductCreateOrConnectWithoutCategoriesInput

Name Type Nullable
where ProductWhereUniqueInput No
create ProductCreateWithoutCategoriesInput | ProductUncheckedCreateWithoutCategoriesInput No

CategoryCreateWithoutProductsInput

Name Type Nullable
id String No
name String No
createdAt DateTime No
updatedAt DateTime No

CategoryUncheckedCreateWithoutProductsInput

Name Type Nullable
id String No
name String No
createdAt DateTime No
updatedAt DateTime No

CategoryCreateOrConnectWithoutProductsInput

Name Type Nullable
where CategoryWhereUniqueInput No
create CategoryCreateWithoutProductsInput | CategoryUncheckedCreateWithoutProductsInput No


ProductUpdateToOneWithWhereWithoutCategoriesInput

Name Type Nullable
where ProductWhereInput No
data ProductUpdateWithoutCategoriesInput | ProductUncheckedUpdateWithoutCategoriesInput No




CategoryUpdateToOneWithWhereWithoutProductsInput

Name Type Nullable
where CategoryWhereInput No
data CategoryUpdateWithoutProductsInput | CategoryUncheckedUpdateWithoutProductsInput No

CategoryUpdateWithoutProductsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

CategoryUncheckedUpdateWithoutProductsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

CurrencyCreateWithoutProduct_pricesInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
kassas KassaCreateNestedManyWithoutCurrencyInput No
payments PaymentCreateNestedManyWithoutCurrencyInput No
transactions TransactionCreateNestedManyWithoutCurrencyInput No
sales SaleCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemCreateNestedManyWithoutCurrencyInput No
purchases PurchaseCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferCreateNestedManyWithoutTo_currencyInput No
settings SettingsCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantCreateNestedManyWithoutCurrencyInput No

CurrencyUncheckedCreateWithoutProduct_pricesInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
kassas KassaUncheckedCreateNestedManyWithoutCurrencyInput No
payments PaymentUncheckedCreateNestedManyWithoutCurrencyInput No
transactions TransactionUncheckedCreateNestedManyWithoutCurrencyInput No
sales SaleUncheckedCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemUncheckedCreateNestedManyWithoutCurrencyInput No
purchases PurchaseUncheckedCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput No
settings SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantUncheckedCreateNestedManyWithoutCurrencyInput No

CurrencyCreateOrConnectWithoutProduct_pricesInput

Name Type Nullable
where CurrencyWhereUniqueInput No
create CurrencyCreateWithoutProduct_pricesInput | CurrencyUncheckedCreateWithoutProduct_pricesInput No

ProductCreateWithoutPricesInput

Name Type Nullable
id String No
code String No
name String No
description String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutProductsInput No
brand BrandCreateNestedOneWithoutProductsInput No
categories ProductCategoryCreateNestedManyWithoutProductInput No
variants ProductVariantCreateNestedManyWithoutProductInput No
images ProductImageCreateNestedManyWithoutProductInput No

ProductUncheckedCreateWithoutPricesInput

Name Type Nullable
id String No
code String No
organizationId String No
name String No
description String | Null Yes
brandId String | Null Yes
createdAt DateTime No
updatedAt DateTime No
categories ProductCategoryUncheckedCreateNestedManyWithoutProductInput No
variants ProductVariantUncheckedCreateNestedManyWithoutProductInput No
images ProductImageUncheckedCreateNestedManyWithoutProductInput No

ProductCreateOrConnectWithoutPricesInput

Name Type Nullable
where ProductWhereUniqueInput No
create ProductCreateWithoutPricesInput | ProductUncheckedCreateWithoutPricesInput No

OrganizationCreateWithoutProduct_pricesInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerCreateNestedManyWithoutOrganizationInput No
products ProductCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceCreateNestedManyWithoutOrganizationInput No
kassas KassaCreateNestedManyWithoutOrganizationInput No
payments PaymentCreateNestedManyWithoutOrganizationInput No
transactions TransactionCreateNestedManyWithoutOrganizationInput No
sales SaleCreateNestedManyWithoutOrganizationInput No
purchases PurchaseCreateNestedManyWithoutOrganizationInput No
stocks StockCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferCreateNestedManyWithoutOrganizationInput No
settings SettingsCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogCreateNestedManyWithoutOrganizationInput No
documents DocumentCreateNestedManyWithoutOrganizationInput No

OrganizationUncheckedCreateWithoutProduct_pricesInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserUncheckedCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerUncheckedCreateNestedManyWithoutOrganizationInput No
products ProductUncheckedCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutOrganizationInput No
kassas KassaUncheckedCreateNestedManyWithoutOrganizationInput No
payments PaymentUncheckedCreateNestedManyWithoutOrganizationInput No
transactions TransactionUncheckedCreateNestedManyWithoutOrganizationInput No
sales SaleUncheckedCreateNestedManyWithoutOrganizationInput No
purchases PurchaseUncheckedCreateNestedManyWithoutOrganizationInput No
stocks StockUncheckedCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferUncheckedCreateNestedManyWithoutOrganizationInput No
settings SettingsUncheckedCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutOrganizationInput No
documents DocumentUncheckedCreateNestedManyWithoutOrganizationInput No

OrganizationCreateOrConnectWithoutProduct_pricesInput

Name Type Nullable
where OrganizationWhereUniqueInput No
create OrganizationCreateWithoutProduct_pricesInput | OrganizationUncheckedCreateWithoutProduct_pricesInput No


CurrencyUpdateToOneWithWhereWithoutProduct_pricesInput

Name Type Nullable
where CurrencyWhereInput No
data CurrencyUpdateWithoutProduct_pricesInput | CurrencyUncheckedUpdateWithoutProduct_pricesInput No

CurrencyUpdateWithoutProduct_pricesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
kassas KassaUpdateManyWithoutCurrencyNestedInput No
payments PaymentUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUpdateManyWithoutCurrencyNestedInput No
sales SaleUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUpdateManyWithoutCurrencyNestedInput No

CurrencyUncheckedUpdateWithoutProduct_pricesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
kassas KassaUncheckedUpdateManyWithoutCurrencyNestedInput No
payments PaymentUncheckedUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCurrencyNestedInput No
sales SaleUncheckedUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUncheckedUpdateManyWithoutCurrencyNestedInput No


ProductUpdateToOneWithWhereWithoutPricesInput

Name Type Nullable
where ProductWhereInput No
data ProductUpdateWithoutPricesInput | ProductUncheckedUpdateWithoutPricesInput No




OrganizationUpdateToOneWithWhereWithoutProduct_pricesInput

Name Type Nullable
where OrganizationWhereInput No
data OrganizationUpdateWithoutProduct_pricesInput | OrganizationUncheckedUpdateWithoutProduct_pricesInput No

OrganizationUpdateWithoutProduct_pricesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUpdateManyWithoutOrganizationNestedInput No
products ProductUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUpdateManyWithoutOrganizationNestedInput No
kassas KassaUpdateManyWithoutOrganizationNestedInput No
payments PaymentUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUpdateManyWithoutOrganizationNestedInput No
sales SaleUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUpdateManyWithoutOrganizationNestedInput No
stocks StockUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUpdateManyWithoutOrganizationNestedInput No
settings SettingsUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUpdateManyWithoutOrganizationNestedInput No
documents DocumentUpdateManyWithoutOrganizationNestedInput No

OrganizationUncheckedUpdateWithoutProduct_pricesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUncheckedUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUncheckedUpdateManyWithoutOrganizationNestedInput No
products ProductUncheckedUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutOrganizationNestedInput No
kassas KassaUncheckedUpdateManyWithoutOrganizationNestedInput No
payments PaymentUncheckedUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUncheckedUpdateManyWithoutOrganizationNestedInput No
sales SaleUncheckedUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutOrganizationNestedInput No
stocks StockUncheckedUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUncheckedUpdateManyWithoutOrganizationNestedInput No
settings SettingsUncheckedUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput No
documents DocumentUncheckedUpdateManyWithoutOrganizationNestedInput No

ProductVariantCreateWithoutProduct_instanceInput

Name Type Nullable
id String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
createdAt DateTime No
updatedAt DateTime No
currency CurrencyCreateNestedOneWithoutProduct_variantInput No
product ProductCreateNestedOneWithoutVariantsInput No
product_variant_attribute ProductVariantAttributeCreateNestedManyWithoutVariantInput No
product_batches ProductBatchCreateNestedManyWithoutProduct_variantInput No
stocks StockCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemCreateNestedManyWithoutProduct_variantInput No
images ProductImageCreateNestedManyWithoutProductVariantInput No

ProductVariantUncheckedCreateWithoutProduct_instanceInput

Name Type Nullable
id String No
productId String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
currencyId String | Null Yes
createdAt DateTime No
updatedAt DateTime No
product_variant_attribute ProductVariantAttributeUncheckedCreateNestedManyWithoutVariantInput No
product_batches ProductBatchUncheckedCreateNestedManyWithoutProduct_variantInput No
stocks StockUncheckedCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemUncheckedCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemUncheckedCreateNestedManyWithoutProduct_variantInput No
images ProductImageUncheckedCreateNestedManyWithoutProductVariantInput No

ProductVariantCreateOrConnectWithoutProduct_instanceInput

Name Type Nullable
where ProductVariantWhereUniqueInput No
create ProductVariantCreateWithoutProduct_instanceInput | ProductVariantUncheckedCreateWithoutProduct_instanceInput No

OrganizationCreateWithoutProduct_instancesInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerCreateNestedManyWithoutOrganizationInput No
products ProductCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceCreateNestedManyWithoutOrganizationInput No
kassas KassaCreateNestedManyWithoutOrganizationInput No
payments PaymentCreateNestedManyWithoutOrganizationInput No
transactions TransactionCreateNestedManyWithoutOrganizationInput No
sales SaleCreateNestedManyWithoutOrganizationInput No
purchases PurchaseCreateNestedManyWithoutOrganizationInput No
stocks StockCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferCreateNestedManyWithoutOrganizationInput No
settings SettingsCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogCreateNestedManyWithoutOrganizationInput No
documents DocumentCreateNestedManyWithoutOrganizationInput No

OrganizationUncheckedCreateWithoutProduct_instancesInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserUncheckedCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerUncheckedCreateNestedManyWithoutOrganizationInput No
products ProductUncheckedCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceUncheckedCreateNestedManyWithoutOrganizationInput No
kassas KassaUncheckedCreateNestedManyWithoutOrganizationInput No
payments PaymentUncheckedCreateNestedManyWithoutOrganizationInput No
transactions TransactionUncheckedCreateNestedManyWithoutOrganizationInput No
sales SaleUncheckedCreateNestedManyWithoutOrganizationInput No
purchases PurchaseUncheckedCreateNestedManyWithoutOrganizationInput No
stocks StockUncheckedCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferUncheckedCreateNestedManyWithoutOrganizationInput No
settings SettingsUncheckedCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutOrganizationInput No
documents DocumentUncheckedCreateNestedManyWithoutOrganizationInput No

OrganizationCreateOrConnectWithoutProduct_instancesInput

Name Type Nullable
where OrganizationWhereUniqueInput No
create OrganizationCreateWithoutProduct_instancesInput | OrganizationUncheckedCreateWithoutProduct_instancesInput No

OrganizationCustomerCreateWithoutProduct_instancesInput

Name Type Nullable
id String No
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutCustomersInput No
user UserCreateNestedOneWithoutCutomer_linksInput No
payments PaymentCreateNestedManyWithoutCustomerInput No
transactions TransactionCreateNestedManyWithoutCustomerInput No
sales SaleCreateNestedManyWithoutCustomerInput No
purchases PurchaseCreateNestedManyWithoutSupplierInput No
installments InstallmentCreateNestedManyWithoutCustomerInput No
documents DocumentCreateNestedManyWithoutCustomerInput No

OrganizationCustomerUncheckedCreateWithoutProduct_instancesInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
payments PaymentUncheckedCreateNestedManyWithoutCustomerInput No
transactions TransactionUncheckedCreateNestedManyWithoutCustomerInput No
sales SaleUncheckedCreateNestedManyWithoutCustomerInput No
purchases PurchaseUncheckedCreateNestedManyWithoutSupplierInput No
installments InstallmentUncheckedCreateNestedManyWithoutCustomerInput No
documents DocumentUncheckedCreateNestedManyWithoutCustomerInput No

OrganizationCustomerCreateOrConnectWithoutProduct_instancesInput

Name Type Nullable
where OrganizationCustomerWhereUniqueInput No
create OrganizationCustomerCreateWithoutProduct_instancesInput | OrganizationCustomerUncheckedCreateWithoutProduct_instancesInput No

ProductTransactionCreateWithoutProduct_instanceInput

Name Type Nullable
id String No
fromCustomerId String | Null Yes
toCustomerId String | Null Yes
toOrganizationId String | Null Yes
saleId String | Null Yes
action ProductAction No
date DateTime No
description String | Null Yes

ProductTransactionUncheckedCreateWithoutProduct_instanceInput

Name Type Nullable
id String No
fromCustomerId String | Null Yes
toCustomerId String | Null Yes
toOrganizationId String | Null Yes
saleId String | Null Yes
action ProductAction No
date DateTime No
description String | Null Yes

ProductTransactionCreateOrConnectWithoutProduct_instanceInput

Name Type Nullable
where ProductTransactionWhereUniqueInput No
create ProductTransactionCreateWithoutProduct_instanceInput | ProductTransactionUncheckedCreateWithoutProduct_instanceInput No

ProductTransactionCreateManyProduct_instanceInputEnvelope

Name Type Nullable
data ProductTransactionCreateManyProduct_instanceInput | ProductTransactionCreateManyProduct_instanceInput[] No
skipDuplicates Boolean No


ProductVariantUpdateToOneWithWhereWithoutProduct_instanceInput

Name Type Nullable
where ProductVariantWhereInput No
data ProductVariantUpdateWithoutProduct_instanceInput | ProductVariantUncheckedUpdateWithoutProduct_instanceInput No

ProductVariantUpdateWithoutProduct_instanceInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
currency CurrencyUpdateOneWithoutProduct_variantNestedInput No
product ProductUpdateOneRequiredWithoutVariantsNestedInput No
product_variant_attribute ProductVariantAttributeUpdateManyWithoutVariantNestedInput No
product_batches ProductBatchUpdateManyWithoutProduct_variantNestedInput No
stocks StockUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUpdateManyWithoutProductVariantNestedInput No

ProductVariantUncheckedUpdateWithoutProduct_instanceInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
currencyId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_variant_attribute ProductVariantAttributeUncheckedUpdateManyWithoutVariantNestedInput No
product_batches ProductBatchUncheckedUpdateManyWithoutProduct_variantNestedInput No
stocks StockUncheckedUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUncheckedUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUncheckedUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUncheckedUpdateManyWithoutProductVariantNestedInput No


OrganizationUpdateToOneWithWhereWithoutProduct_instancesInput

Name Type Nullable
where OrganizationWhereInput No
data OrganizationUpdateWithoutProduct_instancesInput | OrganizationUncheckedUpdateWithoutProduct_instancesInput No

OrganizationUpdateWithoutProduct_instancesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUpdateManyWithoutOrganizationNestedInput No
products ProductUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUpdateManyWithoutOrganizationNestedInput No
kassas KassaUpdateManyWithoutOrganizationNestedInput No
payments PaymentUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUpdateManyWithoutOrganizationNestedInput No
sales SaleUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUpdateManyWithoutOrganizationNestedInput No
stocks StockUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUpdateManyWithoutOrganizationNestedInput No
settings SettingsUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUpdateManyWithoutOrganizationNestedInput No
documents DocumentUpdateManyWithoutOrganizationNestedInput No

OrganizationUncheckedUpdateWithoutProduct_instancesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUncheckedUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUncheckedUpdateManyWithoutOrganizationNestedInput No
products ProductUncheckedUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUncheckedUpdateManyWithoutOrganizationNestedInput No
kassas KassaUncheckedUpdateManyWithoutOrganizationNestedInput No
payments PaymentUncheckedUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUncheckedUpdateManyWithoutOrganizationNestedInput No
sales SaleUncheckedUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutOrganizationNestedInput No
stocks StockUncheckedUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUncheckedUpdateManyWithoutOrganizationNestedInput No
settings SettingsUncheckedUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput No
documents DocumentUncheckedUpdateManyWithoutOrganizationNestedInput No


OrganizationCustomerUpdateToOneWithWhereWithoutProduct_instancesInput

Name Type Nullable
where OrganizationCustomerWhereInput No
data OrganizationCustomerUpdateWithoutProduct_instancesInput | OrganizationCustomerUncheckedUpdateWithoutProduct_instancesInput No

OrganizationCustomerUpdateWithoutProduct_instancesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutCustomersNestedInput No
user UserUpdateOneWithoutCutomer_linksNestedInput No
payments PaymentUpdateManyWithoutCustomerNestedInput No
transactions TransactionUpdateManyWithoutCustomerNestedInput No
sales SaleUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUpdateManyWithoutSupplierNestedInput No
installments InstallmentUpdateManyWithoutCustomerNestedInput No
documents DocumentUpdateManyWithoutCustomerNestedInput No

OrganizationCustomerUncheckedUpdateWithoutProduct_instancesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
payments PaymentUncheckedUpdateManyWithoutCustomerNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCustomerNestedInput No
sales SaleUncheckedUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutSupplierNestedInput No
installments InstallmentUncheckedUpdateManyWithoutCustomerNestedInput No
documents DocumentUncheckedUpdateManyWithoutCustomerNestedInput No


ProductTransactionUpdateWithWhereUniqueWithoutProduct_instanceInput

Name Type Nullable
where ProductTransactionWhereUniqueInput No
data ProductTransactionUpdateWithoutProduct_instanceInput | ProductTransactionUncheckedUpdateWithoutProduct_instanceInput No

ProductTransactionUpdateManyWithWhereWithoutProduct_instanceInput

Name Type Nullable
where ProductTransactionScalarWhereInput No
data ProductTransactionUpdateManyMutationInput | ProductTransactionUncheckedUpdateManyWithoutProduct_instanceInput No

ProductTransactionScalarWhereInput

Name Type Nullable
AND ProductTransactionScalarWhereInput | ProductTransactionScalarWhereInput[] No
OR ProductTransactionScalarWhereInput[] No
NOT ProductTransactionScalarWhereInput | ProductTransactionScalarWhereInput[] No
id StringFilter | String No
productInstanceId StringFilter | String No
fromCustomerId StringNullableFilter | String | Null Yes
toCustomerId StringNullableFilter | String | Null Yes
toOrganizationId StringNullableFilter | String | Null Yes
saleId StringNullableFilter | String | Null Yes
action EnumProductActionFilter | ProductAction No
date DateTimeFilter | DateTime No
description StringNullableFilter | String | Null Yes

ProductInstanceCreateWithoutTransactionsInput

Name Type Nullable
id String No
serialNumber String No
currentStatus ProductStatus No
createdAt DateTime No
updatedAt DateTime No
productVariant ProductVariantCreateNestedOneWithoutProduct_instanceInput No
organization OrganizationCreateNestedOneWithoutProduct_instancesInput No
current_owner OrganizationCustomerCreateNestedOneWithoutProduct_instancesInput No

ProductInstanceUncheckedCreateWithoutTransactionsInput

Name Type Nullable
id String No
productVariantId String | Null Yes
serialNumber String No
currentOwnerId String | Null Yes
currentStatus ProductStatus No
organizationId String No
createdAt DateTime No
updatedAt DateTime No

ProductInstanceCreateOrConnectWithoutTransactionsInput

Name Type Nullable
where ProductInstanceWhereUniqueInput No
create ProductInstanceCreateWithoutTransactionsInput | ProductInstanceUncheckedCreateWithoutTransactionsInput No


ProductInstanceUpdateToOneWithWhereWithoutTransactionsInput

Name Type Nullable
where ProductInstanceWhereInput No
data ProductInstanceUpdateWithoutTransactionsInput | ProductInstanceUncheckedUpdateWithoutTransactionsInput No


ProductInstanceUncheckedUpdateWithoutTransactionsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | NullableStringFieldUpdateOperationsInput | Null Yes
serialNumber String | StringFieldUpdateOperationsInput No
currentOwnerId String | NullableStringFieldUpdateOperationsInput | Null Yes
currentStatus ProductStatus | EnumProductStatusFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductVariantCreateWithoutProduct_batchesInput

Name Type Nullable
id String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
createdAt DateTime No
updatedAt DateTime No
currency CurrencyCreateNestedOneWithoutProduct_variantInput No
product ProductCreateNestedOneWithoutVariantsInput No
product_instance ProductInstanceCreateNestedManyWithoutProductVariantInput No
product_variant_attribute ProductVariantAttributeCreateNestedManyWithoutVariantInput No
stocks StockCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemCreateNestedManyWithoutProduct_variantInput No
images ProductImageCreateNestedManyWithoutProductVariantInput No

ProductVariantUncheckedCreateWithoutProduct_batchesInput

Name Type Nullable
id String No
productId String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
currencyId String | Null Yes
createdAt DateTime No
updatedAt DateTime No
product_instance ProductInstanceUncheckedCreateNestedManyWithoutProductVariantInput No
product_variant_attribute ProductVariantAttributeUncheckedCreateNestedManyWithoutVariantInput No
stocks StockUncheckedCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemUncheckedCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemUncheckedCreateNestedManyWithoutProduct_variantInput No
images ProductImageUncheckedCreateNestedManyWithoutProductVariantInput No

ProductVariantCreateOrConnectWithoutProduct_batchesInput

Name Type Nullable
where ProductVariantWhereUniqueInput No
create ProductVariantCreateWithoutProduct_batchesInput | ProductVariantUncheckedCreateWithoutProduct_batchesInput No


ProductVariantUpdateToOneWithWhereWithoutProduct_batchesInput

Name Type Nullable
where ProductVariantWhereInput No
data ProductVariantUpdateWithoutProduct_batchesInput | ProductVariantUncheckedUpdateWithoutProduct_batchesInput No

ProductVariantUpdateWithoutProduct_batchesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
currency CurrencyUpdateOneWithoutProduct_variantNestedInput No
product ProductUpdateOneRequiredWithoutVariantsNestedInput No
product_instance ProductInstanceUpdateManyWithoutProductVariantNestedInput No
product_variant_attribute ProductVariantAttributeUpdateManyWithoutVariantNestedInput No
stocks StockUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUpdateManyWithoutProductVariantNestedInput No

ProductVariantUncheckedUpdateWithoutProduct_batchesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
currencyId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instance ProductInstanceUncheckedUpdateManyWithoutProductVariantNestedInput No
product_variant_attribute ProductVariantAttributeUncheckedUpdateManyWithoutVariantNestedInput No
stocks StockUncheckedUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUncheckedUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUncheckedUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUncheckedUpdateManyWithoutProductVariantNestedInput No

OrganizationCreateWithoutStocksInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerCreateNestedManyWithoutOrganizationInput No
products ProductCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceCreateNestedManyWithoutOrganizationInput No
kassas KassaCreateNestedManyWithoutOrganizationInput No
payments PaymentCreateNestedManyWithoutOrganizationInput No
transactions TransactionCreateNestedManyWithoutOrganizationInput No
sales SaleCreateNestedManyWithoutOrganizationInput No
purchases PurchaseCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferCreateNestedManyWithoutOrganizationInput No
settings SettingsCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogCreateNestedManyWithoutOrganizationInput No
documents DocumentCreateNestedManyWithoutOrganizationInput No

OrganizationUncheckedCreateWithoutStocksInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserUncheckedCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerUncheckedCreateNestedManyWithoutOrganizationInput No
products ProductUncheckedCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceUncheckedCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutOrganizationInput No
kassas KassaUncheckedCreateNestedManyWithoutOrganizationInput No
payments PaymentUncheckedCreateNestedManyWithoutOrganizationInput No
transactions TransactionUncheckedCreateNestedManyWithoutOrganizationInput No
sales SaleUncheckedCreateNestedManyWithoutOrganizationInput No
purchases PurchaseUncheckedCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferUncheckedCreateNestedManyWithoutOrganizationInput No
settings SettingsUncheckedCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutOrganizationInput No
documents DocumentUncheckedCreateNestedManyWithoutOrganizationInput No

OrganizationCreateOrConnectWithoutStocksInput

Name Type Nullable
where OrganizationWhereUniqueInput No
create OrganizationCreateWithoutStocksInput | OrganizationUncheckedCreateWithoutStocksInput No

ProductVariantCreateWithoutStocksInput

Name Type Nullable
id String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
createdAt DateTime No
updatedAt DateTime No
currency CurrencyCreateNestedOneWithoutProduct_variantInput No
product ProductCreateNestedOneWithoutVariantsInput No
product_instance ProductInstanceCreateNestedManyWithoutProductVariantInput No
product_variant_attribute ProductVariantAttributeCreateNestedManyWithoutVariantInput No
product_batches ProductBatchCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemCreateNestedManyWithoutProduct_variantInput No
images ProductImageCreateNestedManyWithoutProductVariantInput No

ProductVariantUncheckedCreateWithoutStocksInput

Name Type Nullable
id String No
productId String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
currencyId String | Null Yes
createdAt DateTime No
updatedAt DateTime No
product_instance ProductInstanceUncheckedCreateNestedManyWithoutProductVariantInput No
product_variant_attribute ProductVariantAttributeUncheckedCreateNestedManyWithoutVariantInput No
product_batches ProductBatchUncheckedCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemUncheckedCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemUncheckedCreateNestedManyWithoutProduct_variantInput No
images ProductImageUncheckedCreateNestedManyWithoutProductVariantInput No

ProductVariantCreateOrConnectWithoutStocksInput

Name Type Nullable
where ProductVariantWhereUniqueInput No
create ProductVariantCreateWithoutStocksInput | ProductVariantUncheckedCreateWithoutStocksInput No


OrganizationUpdateToOneWithWhereWithoutStocksInput

Name Type Nullable
where OrganizationWhereInput No
data OrganizationUpdateWithoutStocksInput | OrganizationUncheckedUpdateWithoutStocksInput No

OrganizationUpdateWithoutStocksInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUpdateManyWithoutOrganizationNestedInput No
products ProductUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUpdateManyWithoutOrganizationNestedInput No
kassas KassaUpdateManyWithoutOrganizationNestedInput No
payments PaymentUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUpdateManyWithoutOrganizationNestedInput No
sales SaleUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUpdateManyWithoutOrganizationNestedInput No
settings SettingsUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUpdateManyWithoutOrganizationNestedInput No
documents DocumentUpdateManyWithoutOrganizationNestedInput No

OrganizationUncheckedUpdateWithoutStocksInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUncheckedUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUncheckedUpdateManyWithoutOrganizationNestedInput No
products ProductUncheckedUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUncheckedUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutOrganizationNestedInput No
kassas KassaUncheckedUpdateManyWithoutOrganizationNestedInput No
payments PaymentUncheckedUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUncheckedUpdateManyWithoutOrganizationNestedInput No
sales SaleUncheckedUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUncheckedUpdateManyWithoutOrganizationNestedInput No
settings SettingsUncheckedUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput No
documents DocumentUncheckedUpdateManyWithoutOrganizationNestedInput No


ProductVariantUpdateToOneWithWhereWithoutStocksInput

Name Type Nullable
where ProductVariantWhereInput No
data ProductVariantUpdateWithoutStocksInput | ProductVariantUncheckedUpdateWithoutStocksInput No

ProductVariantUpdateWithoutStocksInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
currency CurrencyUpdateOneWithoutProduct_variantNestedInput No
product ProductUpdateOneRequiredWithoutVariantsNestedInput No
product_instance ProductInstanceUpdateManyWithoutProductVariantNestedInput No
product_variant_attribute ProductVariantAttributeUpdateManyWithoutVariantNestedInput No
product_batches ProductBatchUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUpdateManyWithoutProductVariantNestedInput No

ProductVariantUncheckedUpdateWithoutStocksInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
currencyId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instance ProductInstanceUncheckedUpdateManyWithoutProductVariantNestedInput No
product_variant_attribute ProductVariantAttributeUncheckedUpdateManyWithoutVariantNestedInput No
product_batches ProductBatchUncheckedUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUncheckedUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUncheckedUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUncheckedUpdateManyWithoutProductVariantNestedInput No

OrganizationCreateWithoutKassasInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerCreateNestedManyWithoutOrganizationInput No
products ProductCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceCreateNestedManyWithoutOrganizationInput No
payments PaymentCreateNestedManyWithoutOrganizationInput No
transactions TransactionCreateNestedManyWithoutOrganizationInput No
sales SaleCreateNestedManyWithoutOrganizationInput No
purchases PurchaseCreateNestedManyWithoutOrganizationInput No
stocks StockCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferCreateNestedManyWithoutOrganizationInput No
settings SettingsCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogCreateNestedManyWithoutOrganizationInput No
documents DocumentCreateNestedManyWithoutOrganizationInput No

OrganizationUncheckedCreateWithoutKassasInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserUncheckedCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerUncheckedCreateNestedManyWithoutOrganizationInput No
products ProductUncheckedCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceUncheckedCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutOrganizationInput No
payments PaymentUncheckedCreateNestedManyWithoutOrganizationInput No
transactions TransactionUncheckedCreateNestedManyWithoutOrganizationInput No
sales SaleUncheckedCreateNestedManyWithoutOrganizationInput No
purchases PurchaseUncheckedCreateNestedManyWithoutOrganizationInput No
stocks StockUncheckedCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferUncheckedCreateNestedManyWithoutOrganizationInput No
settings SettingsUncheckedCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutOrganizationInput No
documents DocumentUncheckedCreateNestedManyWithoutOrganizationInput No

OrganizationCreateOrConnectWithoutKassasInput

Name Type Nullable
where OrganizationWhereUniqueInput No
create OrganizationCreateWithoutKassasInput | OrganizationUncheckedCreateWithoutKassasInput No

CurrencyCreateWithoutKassasInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceCreateNestedManyWithoutCurrencyInput No
payments PaymentCreateNestedManyWithoutCurrencyInput No
transactions TransactionCreateNestedManyWithoutCurrencyInput No
sales SaleCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemCreateNestedManyWithoutCurrencyInput No
purchases PurchaseCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferCreateNestedManyWithoutTo_currencyInput No
settings SettingsCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantCreateNestedManyWithoutCurrencyInput No

CurrencyUncheckedCreateWithoutKassasInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput No
payments PaymentUncheckedCreateNestedManyWithoutCurrencyInput No
transactions TransactionUncheckedCreateNestedManyWithoutCurrencyInput No
sales SaleUncheckedCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemUncheckedCreateNestedManyWithoutCurrencyInput No
purchases PurchaseUncheckedCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput No
settings SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantUncheckedCreateNestedManyWithoutCurrencyInput No

CurrencyCreateOrConnectWithoutKassasInput

Name Type Nullable
where CurrencyWhereUniqueInput No
create CurrencyCreateWithoutKassasInput | CurrencyUncheckedCreateWithoutKassasInput No

PaymentCreateWithoutKassaInput

Name Type Nullable
id String No
amount Decimal No
type PaymentType No
description String | Null Yes
createdAt DateTime No
organization OrganizationCreateNestedOneWithoutPaymentsInput No
user UserCreateNestedOneWithoutPaymentsInput No
customer OrganizationCustomerCreateNestedOneWithoutPaymentsInput No
currency CurrencyCreateNestedOneWithoutPaymentsInput No
purchase PurchaseCreateNestedOneWithoutPaymentsInput No
sale SaleCreateNestedOneWithoutPaymentsInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutPaymentInput No

PaymentUncheckedCreateWithoutKassaInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
customerId String | Null Yes
amount Decimal No
currencyId String No
type PaymentType No
description String | Null Yes
purchaseId String | Null Yes
saleId String | Null Yes
createdAt DateTime No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutPaymentInput No

PaymentCreateOrConnectWithoutKassaInput

Name Type Nullable
where PaymentWhereUniqueInput No
create PaymentCreateWithoutKassaInput | PaymentUncheckedCreateWithoutKassaInput No

PaymentCreateManyKassaInputEnvelope

Name Type Nullable
data PaymentCreateManyKassaInput | PaymentCreateManyKassaInput[] No
skipDuplicates Boolean No

PurchaseCreateWithoutKassaInput

Name Type Nullable
id String No
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutPurchasesInput No
supplier OrganizationCustomerCreateNestedOneWithoutPurchasesInput No
responsible UserCreateNestedOneWithoutPurchasesInput No
currency CurrencyCreateNestedOneWithoutPurchasesInput No
items PurchaseItemCreateNestedManyWithoutPurchaseInput No
payments PaymentCreateNestedManyWithoutPurchaseInput No

PurchaseUncheckedCreateWithoutKassaInput

Name Type Nullable
id String No
organizationId String No
supplierId String No
responsibleId String | Null Yes
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
items PurchaseItemUncheckedCreateNestedManyWithoutPurchaseInput No
payments PaymentUncheckedCreateNestedManyWithoutPurchaseInput No

PurchaseCreateOrConnectWithoutKassaInput

Name Type Nullable
where PurchaseWhereUniqueInput No
create PurchaseCreateWithoutKassaInput | PurchaseUncheckedCreateWithoutKassaInput No

PurchaseCreateManyKassaInputEnvelope

Name Type Nullable
data PurchaseCreateManyKassaInput | PurchaseCreateManyKassaInput[] No
skipDuplicates Boolean No

SaleCreateWithoutKassaInput

Name Type Nullable
id String No
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutSalesInput No
customer OrganizationCustomerCreateNestedOneWithoutSalesInput No
responsible UserCreateNestedOneWithoutSalesInput No
currency CurrencyCreateNestedOneWithoutSalesInput No
items SaleItemCreateNestedManyWithoutSaleInput No
payments PaymentCreateNestedManyWithoutSaleInput No
installments InstallmentCreateNestedManyWithoutSaleInput No
documents DocumentCreateNestedManyWithoutSaleInput No

SaleUncheckedCreateWithoutKassaInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
responsibleId String No
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
items SaleItemUncheckedCreateNestedManyWithoutSaleInput No
payments PaymentUncheckedCreateNestedManyWithoutSaleInput No
installments InstallmentUncheckedCreateNestedManyWithoutSaleInput No
documents DocumentUncheckedCreateNestedManyWithoutSaleInput No

SaleCreateOrConnectWithoutKassaInput

Name Type Nullable
where SaleWhereUniqueInput No
create SaleCreateWithoutKassaInput | SaleUncheckedCreateWithoutKassaInput No

SaleCreateManyKassaInputEnvelope

Name Type Nullable
data SaleCreateManyKassaInput | SaleCreateManyKassaInput[] No
skipDuplicates Boolean No

KassaTransferCreateWithoutFrom_kassaInput

Name Type Nullable
id String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No
organization OrganizationCreateNestedOneWithoutKassa_transfersInput No
to_kassa KassaCreateNestedOneWithoutIncoming_transfersInput No
from_currency CurrencyCreateNestedOneWithoutFrom_transfersInput No
to_currency CurrencyCreateNestedOneWithoutTo_transfersInput No

KassaTransferUncheckedCreateWithoutFrom_kassaInput

Name Type Nullable
id String No
organizationId String No
toKassaId String No
fromCurrencyId String No
toCurrencyId String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No

KassaTransferCreateOrConnectWithoutFrom_kassaInput

Name Type Nullable
where KassaTransferWhereUniqueInput No
create KassaTransferCreateWithoutFrom_kassaInput | KassaTransferUncheckedCreateWithoutFrom_kassaInput No

KassaTransferCreateManyFrom_kassaInputEnvelope

Name Type Nullable
data KassaTransferCreateManyFrom_kassaInput | KassaTransferCreateManyFrom_kassaInput[] No
skipDuplicates Boolean No

KassaTransferCreateWithoutTo_kassaInput

Name Type Nullable
id String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No
organization OrganizationCreateNestedOneWithoutKassa_transfersInput No
from_kassa KassaCreateNestedOneWithoutOutgoing_transfersInput No
from_currency CurrencyCreateNestedOneWithoutFrom_transfersInput No
to_currency CurrencyCreateNestedOneWithoutTo_transfersInput No

KassaTransferUncheckedCreateWithoutTo_kassaInput

Name Type Nullable
id String No
organizationId String No
fromKassaId String No
fromCurrencyId String No
toCurrencyId String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No

KassaTransferCreateOrConnectWithoutTo_kassaInput

Name Type Nullable
where KassaTransferWhereUniqueInput No
create KassaTransferCreateWithoutTo_kassaInput | KassaTransferUncheckedCreateWithoutTo_kassaInput No

KassaTransferCreateManyTo_kassaInputEnvelope

Name Type Nullable
data KassaTransferCreateManyTo_kassaInput | KassaTransferCreateManyTo_kassaInput[] No
skipDuplicates Boolean No


OrganizationUpdateToOneWithWhereWithoutKassasInput

Name Type Nullable
where OrganizationWhereInput No
data OrganizationUpdateWithoutKassasInput | OrganizationUncheckedUpdateWithoutKassasInput No

OrganizationUpdateWithoutKassasInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUpdateManyWithoutOrganizationNestedInput No
products ProductUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUpdateManyWithoutOrganizationNestedInput No
payments PaymentUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUpdateManyWithoutOrganizationNestedInput No
sales SaleUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUpdateManyWithoutOrganizationNestedInput No
stocks StockUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUpdateManyWithoutOrganizationNestedInput No
settings SettingsUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUpdateManyWithoutOrganizationNestedInput No
documents DocumentUpdateManyWithoutOrganizationNestedInput No

OrganizationUncheckedUpdateWithoutKassasInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUncheckedUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUncheckedUpdateManyWithoutOrganizationNestedInput No
products ProductUncheckedUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUncheckedUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutOrganizationNestedInput No
payments PaymentUncheckedUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUncheckedUpdateManyWithoutOrganizationNestedInput No
sales SaleUncheckedUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutOrganizationNestedInput No
stocks StockUncheckedUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUncheckedUpdateManyWithoutOrganizationNestedInput No
settings SettingsUncheckedUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput No
documents DocumentUncheckedUpdateManyWithoutOrganizationNestedInput No


CurrencyUpdateToOneWithWhereWithoutKassasInput

Name Type Nullable
where CurrencyWhereInput No
data CurrencyUpdateWithoutKassasInput | CurrencyUncheckedUpdateWithoutKassasInput No

CurrencyUpdateWithoutKassasInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUpdateManyWithoutCurrencyNestedInput No
payments PaymentUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUpdateManyWithoutCurrencyNestedInput No
sales SaleUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUpdateManyWithoutCurrencyNestedInput No

CurrencyUncheckedUpdateWithoutKassasInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput No
payments PaymentUncheckedUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCurrencyNestedInput No
sales SaleUncheckedUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUncheckedUpdateManyWithoutCurrencyNestedInput No


PaymentUpdateWithWhereUniqueWithoutKassaInput

Name Type Nullable
where PaymentWhereUniqueInput No
data PaymentUpdateWithoutKassaInput | PaymentUncheckedUpdateWithoutKassaInput No

PaymentUpdateManyWithWhereWithoutKassaInput

Name Type Nullable
where PaymentScalarWhereInput No
data PaymentUpdateManyMutationInput | PaymentUncheckedUpdateManyWithoutKassaInput No


PurchaseUpdateWithWhereUniqueWithoutKassaInput

Name Type Nullable
where PurchaseWhereUniqueInput No
data PurchaseUpdateWithoutKassaInput | PurchaseUncheckedUpdateWithoutKassaInput No

PurchaseUpdateManyWithWhereWithoutKassaInput

Name Type Nullable
where PurchaseScalarWhereInput No
data PurchaseUpdateManyMutationInput | PurchaseUncheckedUpdateManyWithoutKassaInput No

SaleUpsertWithWhereUniqueWithoutKassaInput

Name Type Nullable
where SaleWhereUniqueInput No
update SaleUpdateWithoutKassaInput | SaleUncheckedUpdateWithoutKassaInput No
create SaleCreateWithoutKassaInput | SaleUncheckedCreateWithoutKassaInput No

SaleUpdateWithWhereUniqueWithoutKassaInput

Name Type Nullable
where SaleWhereUniqueInput No
data SaleUpdateWithoutKassaInput | SaleUncheckedUpdateWithoutKassaInput No

SaleUpdateManyWithWhereWithoutKassaInput

Name Type Nullable
where SaleScalarWhereInput No
data SaleUpdateManyMutationInput | SaleUncheckedUpdateManyWithoutKassaInput No


KassaTransferUpdateWithWhereUniqueWithoutFrom_kassaInput

Name Type Nullable
where KassaTransferWhereUniqueInput No
data KassaTransferUpdateWithoutFrom_kassaInput | KassaTransferUncheckedUpdateWithoutFrom_kassaInput No

KassaTransferUpdateManyWithWhereWithoutFrom_kassaInput

Name Type Nullable
where KassaTransferScalarWhereInput No
data KassaTransferUpdateManyMutationInput | KassaTransferUncheckedUpdateManyWithoutFrom_kassaInput No


KassaTransferUpdateWithWhereUniqueWithoutTo_kassaInput

Name Type Nullable
where KassaTransferWhereUniqueInput No
data KassaTransferUpdateWithoutTo_kassaInput | KassaTransferUncheckedUpdateWithoutTo_kassaInput No

KassaTransferUpdateManyWithWhereWithoutTo_kassaInput

Name Type Nullable
where KassaTransferScalarWhereInput No
data KassaTransferUpdateManyMutationInput | KassaTransferUncheckedUpdateManyWithoutTo_kassaInput No

OrganizationCreateWithoutKassa_transfersInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerCreateNestedManyWithoutOrganizationInput No
products ProductCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceCreateNestedManyWithoutOrganizationInput No
kassas KassaCreateNestedManyWithoutOrganizationInput No
payments PaymentCreateNestedManyWithoutOrganizationInput No
transactions TransactionCreateNestedManyWithoutOrganizationInput No
sales SaleCreateNestedManyWithoutOrganizationInput No
purchases PurchaseCreateNestedManyWithoutOrganizationInput No
stocks StockCreateNestedManyWithoutOrganizationInput No
settings SettingsCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogCreateNestedManyWithoutOrganizationInput No
documents DocumentCreateNestedManyWithoutOrganizationInput No

OrganizationUncheckedCreateWithoutKassa_transfersInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserUncheckedCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerUncheckedCreateNestedManyWithoutOrganizationInput No
products ProductUncheckedCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceUncheckedCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutOrganizationInput No
kassas KassaUncheckedCreateNestedManyWithoutOrganizationInput No
payments PaymentUncheckedCreateNestedManyWithoutOrganizationInput No
transactions TransactionUncheckedCreateNestedManyWithoutOrganizationInput No
sales SaleUncheckedCreateNestedManyWithoutOrganizationInput No
purchases PurchaseUncheckedCreateNestedManyWithoutOrganizationInput No
stocks StockUncheckedCreateNestedManyWithoutOrganizationInput No
settings SettingsUncheckedCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutOrganizationInput No
documents DocumentUncheckedCreateNestedManyWithoutOrganizationInput No

OrganizationCreateOrConnectWithoutKassa_transfersInput

Name Type Nullable
where OrganizationWhereUniqueInput No
create OrganizationCreateWithoutKassa_transfersInput | OrganizationUncheckedCreateWithoutKassa_transfersInput No

KassaCreateWithoutOutgoing_transfersInput

Name Type Nullable
id String No
name String No
type String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutKassasInput No
currency CurrencyCreateNestedOneWithoutKassasInput No
payments PaymentCreateNestedManyWithoutKassaInput No
purchases PurchaseCreateNestedManyWithoutKassaInput No
sales SaleCreateNestedManyWithoutKassaInput No
incoming_transfers KassaTransferCreateNestedManyWithoutTo_kassaInput No

KassaUncheckedCreateWithoutOutgoing_transfersInput

Name Type Nullable
id String No
organizationId String No
name String No
type String No
currencyId String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No
payments PaymentUncheckedCreateNestedManyWithoutKassaInput No
purchases PurchaseUncheckedCreateNestedManyWithoutKassaInput No
sales SaleUncheckedCreateNestedManyWithoutKassaInput No
incoming_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_kassaInput No

KassaCreateOrConnectWithoutOutgoing_transfersInput

Name Type Nullable
where KassaWhereUniqueInput No
create KassaCreateWithoutOutgoing_transfersInput | KassaUncheckedCreateWithoutOutgoing_transfersInput No

KassaCreateWithoutIncoming_transfersInput

Name Type Nullable
id String No
name String No
type String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutKassasInput No
currency CurrencyCreateNestedOneWithoutKassasInput No
payments PaymentCreateNestedManyWithoutKassaInput No
purchases PurchaseCreateNestedManyWithoutKassaInput No
sales SaleCreateNestedManyWithoutKassaInput No
outgoing_transfers KassaTransferCreateNestedManyWithoutFrom_kassaInput No

KassaUncheckedCreateWithoutIncoming_transfersInput

Name Type Nullable
id String No
organizationId String No
name String No
type String No
currencyId String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No
payments PaymentUncheckedCreateNestedManyWithoutKassaInput No
purchases PurchaseUncheckedCreateNestedManyWithoutKassaInput No
sales SaleUncheckedCreateNestedManyWithoutKassaInput No
outgoing_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_kassaInput No

KassaCreateOrConnectWithoutIncoming_transfersInput

Name Type Nullable
where KassaWhereUniqueInput No
create KassaCreateWithoutIncoming_transfersInput | KassaUncheckedCreateWithoutIncoming_transfersInput No

CurrencyCreateWithoutFrom_transfersInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceCreateNestedManyWithoutCurrencyInput No
kassas KassaCreateNestedManyWithoutCurrencyInput No
payments PaymentCreateNestedManyWithoutCurrencyInput No
transactions TransactionCreateNestedManyWithoutCurrencyInput No
sales SaleCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemCreateNestedManyWithoutCurrencyInput No
purchases PurchaseCreateNestedManyWithoutCurrencyInput No
to_transfers KassaTransferCreateNestedManyWithoutTo_currencyInput No
settings SettingsCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantCreateNestedManyWithoutCurrencyInput No

CurrencyUncheckedCreateWithoutFrom_transfersInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput No
kassas KassaUncheckedCreateNestedManyWithoutCurrencyInput No
payments PaymentUncheckedCreateNestedManyWithoutCurrencyInput No
transactions TransactionUncheckedCreateNestedManyWithoutCurrencyInput No
sales SaleUncheckedCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemUncheckedCreateNestedManyWithoutCurrencyInput No
purchases PurchaseUncheckedCreateNestedManyWithoutCurrencyInput No
to_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput No
settings SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantUncheckedCreateNestedManyWithoutCurrencyInput No

CurrencyCreateOrConnectWithoutFrom_transfersInput

Name Type Nullable
where CurrencyWhereUniqueInput No
create CurrencyCreateWithoutFrom_transfersInput | CurrencyUncheckedCreateWithoutFrom_transfersInput No

CurrencyCreateWithoutTo_transfersInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceCreateNestedManyWithoutCurrencyInput No
kassas KassaCreateNestedManyWithoutCurrencyInput No
payments PaymentCreateNestedManyWithoutCurrencyInput No
transactions TransactionCreateNestedManyWithoutCurrencyInput No
sales SaleCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemCreateNestedManyWithoutCurrencyInput No
purchases PurchaseCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferCreateNestedManyWithoutFrom_currencyInput No
settings SettingsCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantCreateNestedManyWithoutCurrencyInput No

CurrencyUncheckedCreateWithoutTo_transfersInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput No
kassas KassaUncheckedCreateNestedManyWithoutCurrencyInput No
payments PaymentUncheckedCreateNestedManyWithoutCurrencyInput No
transactions TransactionUncheckedCreateNestedManyWithoutCurrencyInput No
sales SaleUncheckedCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemUncheckedCreateNestedManyWithoutCurrencyInput No
purchases PurchaseUncheckedCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput No
settings SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantUncheckedCreateNestedManyWithoutCurrencyInput No

CurrencyCreateOrConnectWithoutTo_transfersInput

Name Type Nullable
where CurrencyWhereUniqueInput No
create CurrencyCreateWithoutTo_transfersInput | CurrencyUncheckedCreateWithoutTo_transfersInput No


OrganizationUpdateToOneWithWhereWithoutKassa_transfersInput

Name Type Nullable
where OrganizationWhereInput No
data OrganizationUpdateWithoutKassa_transfersInput | OrganizationUncheckedUpdateWithoutKassa_transfersInput No

OrganizationUpdateWithoutKassa_transfersInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUpdateManyWithoutOrganizationNestedInput No
products ProductUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUpdateManyWithoutOrganizationNestedInput No
kassas KassaUpdateManyWithoutOrganizationNestedInput No
payments PaymentUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUpdateManyWithoutOrganizationNestedInput No
sales SaleUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUpdateManyWithoutOrganizationNestedInput No
stocks StockUpdateManyWithoutOrganizationNestedInput No
settings SettingsUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUpdateManyWithoutOrganizationNestedInput No
documents DocumentUpdateManyWithoutOrganizationNestedInput No

OrganizationUncheckedUpdateWithoutKassa_transfersInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUncheckedUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUncheckedUpdateManyWithoutOrganizationNestedInput No
products ProductUncheckedUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUncheckedUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutOrganizationNestedInput No
kassas KassaUncheckedUpdateManyWithoutOrganizationNestedInput No
payments PaymentUncheckedUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUncheckedUpdateManyWithoutOrganizationNestedInput No
sales SaleUncheckedUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutOrganizationNestedInput No
stocks StockUncheckedUpdateManyWithoutOrganizationNestedInput No
settings SettingsUncheckedUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput No
documents DocumentUncheckedUpdateManyWithoutOrganizationNestedInput No


KassaUpdateToOneWithWhereWithoutOutgoing_transfersInput

Name Type Nullable
where KassaWhereInput No
data KassaUpdateWithoutOutgoing_transfersInput | KassaUncheckedUpdateWithoutOutgoing_transfersInput No




KassaUpdateToOneWithWhereWithoutIncoming_transfersInput

Name Type Nullable
where KassaWhereInput No
data KassaUpdateWithoutIncoming_transfersInput | KassaUncheckedUpdateWithoutIncoming_transfersInput No




CurrencyUpdateToOneWithWhereWithoutFrom_transfersInput

Name Type Nullable
where CurrencyWhereInput No
data CurrencyUpdateWithoutFrom_transfersInput | CurrencyUncheckedUpdateWithoutFrom_transfersInput No

CurrencyUpdateWithoutFrom_transfersInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUpdateManyWithoutCurrencyNestedInput No
kassas KassaUpdateManyWithoutCurrencyNestedInput No
payments PaymentUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUpdateManyWithoutCurrencyNestedInput No
sales SaleUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUpdateManyWithoutCurrencyNestedInput No
to_transfers KassaTransferUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUpdateManyWithoutCurrencyNestedInput No

CurrencyUncheckedUpdateWithoutFrom_transfersInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput No
kassas KassaUncheckedUpdateManyWithoutCurrencyNestedInput No
payments PaymentUncheckedUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCurrencyNestedInput No
sales SaleUncheckedUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput No
to_transfers KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUncheckedUpdateManyWithoutCurrencyNestedInput No


CurrencyUpdateToOneWithWhereWithoutTo_transfersInput

Name Type Nullable
where CurrencyWhereInput No
data CurrencyUpdateWithoutTo_transfersInput | CurrencyUncheckedUpdateWithoutTo_transfersInput No

CurrencyUpdateWithoutTo_transfersInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUpdateManyWithoutCurrencyNestedInput No
kassas KassaUpdateManyWithoutCurrencyNestedInput No
payments PaymentUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUpdateManyWithoutCurrencyNestedInput No
sales SaleUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUpdateManyWithoutFrom_currencyNestedInput No
settings SettingsUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUpdateManyWithoutCurrencyNestedInput No

CurrencyUncheckedUpdateWithoutTo_transfersInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput No
kassas KassaUncheckedUpdateManyWithoutCurrencyNestedInput No
payments PaymentUncheckedUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCurrencyNestedInput No
sales SaleUncheckedUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput No
settings SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUncheckedUpdateManyWithoutCurrencyNestedInput No

OrganizationCreateWithoutPaymentsInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerCreateNestedManyWithoutOrganizationInput No
products ProductCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceCreateNestedManyWithoutOrganizationInput No
kassas KassaCreateNestedManyWithoutOrganizationInput No
transactions TransactionCreateNestedManyWithoutOrganizationInput No
sales SaleCreateNestedManyWithoutOrganizationInput No
purchases PurchaseCreateNestedManyWithoutOrganizationInput No
stocks StockCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferCreateNestedManyWithoutOrganizationInput No
settings SettingsCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogCreateNestedManyWithoutOrganizationInput No
documents DocumentCreateNestedManyWithoutOrganizationInput No

OrganizationUncheckedCreateWithoutPaymentsInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserUncheckedCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerUncheckedCreateNestedManyWithoutOrganizationInput No
products ProductUncheckedCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceUncheckedCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutOrganizationInput No
kassas KassaUncheckedCreateNestedManyWithoutOrganizationInput No
transactions TransactionUncheckedCreateNestedManyWithoutOrganizationInput No
sales SaleUncheckedCreateNestedManyWithoutOrganizationInput No
purchases PurchaseUncheckedCreateNestedManyWithoutOrganizationInput No
stocks StockUncheckedCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferUncheckedCreateNestedManyWithoutOrganizationInput No
settings SettingsUncheckedCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutOrganizationInput No
documents DocumentUncheckedCreateNestedManyWithoutOrganizationInput No

OrganizationCreateOrConnectWithoutPaymentsInput

Name Type Nullable
where OrganizationWhereUniqueInput No
create OrganizationCreateWithoutPaymentsInput | OrganizationUncheckedCreateWithoutPaymentsInput No

UserCreateWithoutPaymentsInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
profile UserProfileCreateNestedOneWithoutUserInput No
role RoleCreateNestedOneWithoutUsersInput No
org_links OrganizationUserCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerCreateNestedManyWithoutUserInput No
sales SaleCreateNestedManyWithoutResponsibleInput No
purchases PurchaseCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneCreateNestedManyWithoutUserInput No
audit_logs AuditLogCreateNestedManyWithoutUserInput No
documents DocumentCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutCreated_byInput No

UserUncheckedCreateWithoutPaymentsInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
roleId String | Null Yes
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
org_links OrganizationUserUncheckedCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput No
sales SaleUncheckedCreateNestedManyWithoutResponsibleInput No
purchases PurchaseUncheckedCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneUncheckedCreateNestedManyWithoutUserInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutUserInput No
documents DocumentUncheckedCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput No

UserCreateOrConnectWithoutPaymentsInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutPaymentsInput | UserUncheckedCreateWithoutPaymentsInput No

OrganizationCustomerCreateWithoutPaymentsInput

Name Type Nullable
id String No
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutCustomersInput No
user UserCreateNestedOneWithoutCutomer_linksInput No
product_instances ProductInstanceCreateNestedManyWithoutCurrent_ownerInput No
transactions TransactionCreateNestedManyWithoutCustomerInput No
sales SaleCreateNestedManyWithoutCustomerInput No
purchases PurchaseCreateNestedManyWithoutSupplierInput No
installments InstallmentCreateNestedManyWithoutCustomerInput No
documents DocumentCreateNestedManyWithoutCustomerInput No

OrganizationCustomerUncheckedCreateWithoutPaymentsInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput No
transactions TransactionUncheckedCreateNestedManyWithoutCustomerInput No
sales SaleUncheckedCreateNestedManyWithoutCustomerInput No
purchases PurchaseUncheckedCreateNestedManyWithoutSupplierInput No
installments InstallmentUncheckedCreateNestedManyWithoutCustomerInput No
documents DocumentUncheckedCreateNestedManyWithoutCustomerInput No

OrganizationCustomerCreateOrConnectWithoutPaymentsInput

Name Type Nullable
where OrganizationCustomerWhereUniqueInput No
create OrganizationCustomerCreateWithoutPaymentsInput | OrganizationCustomerUncheckedCreateWithoutPaymentsInput No

KassaCreateWithoutPaymentsInput

Name Type Nullable
id String No
name String No
type String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutKassasInput No
currency CurrencyCreateNestedOneWithoutKassasInput No
purchases PurchaseCreateNestedManyWithoutKassaInput No
sales SaleCreateNestedManyWithoutKassaInput No
outgoing_transfers KassaTransferCreateNestedManyWithoutFrom_kassaInput No
incoming_transfers KassaTransferCreateNestedManyWithoutTo_kassaInput No

KassaUncheckedCreateWithoutPaymentsInput

Name Type Nullable
id String No
organizationId String No
name String No
type String No
currencyId String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No
purchases PurchaseUncheckedCreateNestedManyWithoutKassaInput No
sales SaleUncheckedCreateNestedManyWithoutKassaInput No
outgoing_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_kassaInput No
incoming_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_kassaInput No

KassaCreateOrConnectWithoutPaymentsInput

Name Type Nullable
where KassaWhereUniqueInput No
create KassaCreateWithoutPaymentsInput | KassaUncheckedCreateWithoutPaymentsInput No

CurrencyCreateWithoutPaymentsInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceCreateNestedManyWithoutCurrencyInput No
kassas KassaCreateNestedManyWithoutCurrencyInput No
transactions TransactionCreateNestedManyWithoutCurrencyInput No
sales SaleCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemCreateNestedManyWithoutCurrencyInput No
purchases PurchaseCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferCreateNestedManyWithoutTo_currencyInput No
settings SettingsCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantCreateNestedManyWithoutCurrencyInput No

CurrencyUncheckedCreateWithoutPaymentsInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput No
kassas KassaUncheckedCreateNestedManyWithoutCurrencyInput No
transactions TransactionUncheckedCreateNestedManyWithoutCurrencyInput No
sales SaleUncheckedCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemUncheckedCreateNestedManyWithoutCurrencyInput No
purchases PurchaseUncheckedCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput No
settings SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantUncheckedCreateNestedManyWithoutCurrencyInput No

CurrencyCreateOrConnectWithoutPaymentsInput

Name Type Nullable
where CurrencyWhereUniqueInput No
create CurrencyCreateWithoutPaymentsInput | CurrencyUncheckedCreateWithoutPaymentsInput No

PurchaseCreateWithoutPaymentsInput

Name Type Nullable
id String No
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutPurchasesInput No
supplier OrganizationCustomerCreateNestedOneWithoutPurchasesInput No
responsible UserCreateNestedOneWithoutPurchasesInput No
currency CurrencyCreateNestedOneWithoutPurchasesInput No
kassa KassaCreateNestedOneWithoutPurchasesInput No
items PurchaseItemCreateNestedManyWithoutPurchaseInput No

PurchaseUncheckedCreateWithoutPaymentsInput

Name Type Nullable
id String No
organizationId String No
supplierId String No
responsibleId String | Null Yes
kassaId String | Null Yes
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
items PurchaseItemUncheckedCreateNestedManyWithoutPurchaseInput No

PurchaseCreateOrConnectWithoutPaymentsInput

Name Type Nullable
where PurchaseWhereUniqueInput No
create PurchaseCreateWithoutPaymentsInput | PurchaseUncheckedCreateWithoutPaymentsInput No

SaleCreateWithoutPaymentsInput

Name Type Nullable
id String No
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutSalesInput No
customer OrganizationCustomerCreateNestedOneWithoutSalesInput No
responsible UserCreateNestedOneWithoutSalesInput No
currency CurrencyCreateNestedOneWithoutSalesInput No
kassa KassaCreateNestedOneWithoutSalesInput No
items SaleItemCreateNestedManyWithoutSaleInput No
installments InstallmentCreateNestedManyWithoutSaleInput No
documents DocumentCreateNestedManyWithoutSaleInput No

SaleUncheckedCreateWithoutPaymentsInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
responsibleId String No
kassaId String | Null Yes
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
items SaleItemUncheckedCreateNestedManyWithoutSaleInput No
installments InstallmentUncheckedCreateNestedManyWithoutSaleInput No
documents DocumentUncheckedCreateNestedManyWithoutSaleInput No

SaleCreateOrConnectWithoutPaymentsInput

Name Type Nullable
where SaleWhereUniqueInput No
create SaleCreateWithoutPaymentsInput | SaleUncheckedCreateWithoutPaymentsInput No

InstallmentPaymentCreateWithoutPaymentInput

Name Type Nullable
id String No
amount Decimal No
paidAt DateTime No
paymentMethod String | Null Yes
note String | Null Yes
installment InstallmentCreateNestedOneWithoutPaymentsInput No
created_by UserCreateNestedOneWithoutInstallment_paymentsInput No

InstallmentPaymentUncheckedCreateWithoutPaymentInput

Name Type Nullable
id String No
installmentId String No
amount Decimal No
paidAt DateTime No
paymentMethod String | Null Yes
note String | Null Yes
createdById String | Null Yes

InstallmentPaymentCreateOrConnectWithoutPaymentInput

Name Type Nullable
where InstallmentPaymentWhereUniqueInput No
create InstallmentPaymentCreateWithoutPaymentInput | InstallmentPaymentUncheckedCreateWithoutPaymentInput No

InstallmentPaymentCreateManyPaymentInputEnvelope

Name Type Nullable
data InstallmentPaymentCreateManyPaymentInput | InstallmentPaymentCreateManyPaymentInput[] No
skipDuplicates Boolean No


OrganizationUpdateToOneWithWhereWithoutPaymentsInput

Name Type Nullable
where OrganizationWhereInput No
data OrganizationUpdateWithoutPaymentsInput | OrganizationUncheckedUpdateWithoutPaymentsInput No

OrganizationUpdateWithoutPaymentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUpdateManyWithoutOrganizationNestedInput No
products ProductUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUpdateManyWithoutOrganizationNestedInput No
kassas KassaUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUpdateManyWithoutOrganizationNestedInput No
sales SaleUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUpdateManyWithoutOrganizationNestedInput No
stocks StockUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUpdateManyWithoutOrganizationNestedInput No
settings SettingsUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUpdateManyWithoutOrganizationNestedInput No
documents DocumentUpdateManyWithoutOrganizationNestedInput No

OrganizationUncheckedUpdateWithoutPaymentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUncheckedUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUncheckedUpdateManyWithoutOrganizationNestedInput No
products ProductUncheckedUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUncheckedUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutOrganizationNestedInput No
kassas KassaUncheckedUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUncheckedUpdateManyWithoutOrganizationNestedInput No
sales SaleUncheckedUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutOrganizationNestedInput No
stocks StockUncheckedUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUncheckedUpdateManyWithoutOrganizationNestedInput No
settings SettingsUncheckedUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput No
documents DocumentUncheckedUpdateManyWithoutOrganizationNestedInput No


UserUpdateToOneWithWhereWithoutPaymentsInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutPaymentsInput | UserUncheckedUpdateWithoutPaymentsInput No

UserUpdateWithoutPaymentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
profile UserProfileUpdateOneWithoutUserNestedInput No
role RoleUpdateOneWithoutUsersNestedInput No
org_links OrganizationUserUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUpdateManyWithoutUserNestedInput No
sales SaleUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUpdateManyWithoutUserNestedInput No
documents DocumentUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUpdateManyWithoutCreated_byNestedInput No

UserUncheckedUpdateWithoutPaymentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
roleId String | NullableStringFieldUpdateOperationsInput | Null Yes
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
org_links OrganizationUserUncheckedUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUncheckedUpdateManyWithoutUserNestedInput No
sales SaleUncheckedUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUncheckedUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutUserNestedInput No
documents DocumentUncheckedUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutCreated_byNestedInput No


OrganizationCustomerUpdateToOneWithWhereWithoutPaymentsInput

Name Type Nullable
where OrganizationCustomerWhereInput No
data OrganizationCustomerUpdateWithoutPaymentsInput | OrganizationCustomerUncheckedUpdateWithoutPaymentsInput No

OrganizationCustomerUpdateWithoutPaymentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutCustomersNestedInput No
user UserUpdateOneWithoutCutomer_linksNestedInput No
product_instances ProductInstanceUpdateManyWithoutCurrent_ownerNestedInput No
transactions TransactionUpdateManyWithoutCustomerNestedInput No
sales SaleUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUpdateManyWithoutSupplierNestedInput No
installments InstallmentUpdateManyWithoutCustomerNestedInput No
documents DocumentUpdateManyWithoutCustomerNestedInput No

OrganizationCustomerUncheckedUpdateWithoutPaymentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutCurrent_ownerNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCustomerNestedInput No
sales SaleUncheckedUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutSupplierNestedInput No
installments InstallmentUncheckedUpdateManyWithoutCustomerNestedInput No
documents DocumentUncheckedUpdateManyWithoutCustomerNestedInput No


KassaUpdateToOneWithWhereWithoutPaymentsInput

Name Type Nullable
where KassaWhereInput No
data KassaUpdateWithoutPaymentsInput | KassaUncheckedUpdateWithoutPaymentsInput No




CurrencyUpdateToOneWithWhereWithoutPaymentsInput

Name Type Nullable
where CurrencyWhereInput No
data CurrencyUpdateWithoutPaymentsInput | CurrencyUncheckedUpdateWithoutPaymentsInput No

CurrencyUpdateWithoutPaymentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUpdateManyWithoutCurrencyNestedInput No
kassas KassaUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUpdateManyWithoutCurrencyNestedInput No
sales SaleUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUpdateManyWithoutCurrencyNestedInput No

CurrencyUncheckedUpdateWithoutPaymentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput No
kassas KassaUncheckedUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCurrencyNestedInput No
sales SaleUncheckedUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUncheckedUpdateManyWithoutCurrencyNestedInput No


PurchaseUpdateToOneWithWhereWithoutPaymentsInput

Name Type Nullable
where PurchaseWhereInput No
data PurchaseUpdateWithoutPaymentsInput | PurchaseUncheckedUpdateWithoutPaymentsInput No

PurchaseUpdateWithoutPaymentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutPurchasesNestedInput No
supplier OrganizationCustomerUpdateOneRequiredWithoutPurchasesNestedInput No
responsible UserUpdateOneWithoutPurchasesNestedInput No
currency CurrencyUpdateOneRequiredWithoutPurchasesNestedInput No
kassa KassaUpdateOneWithoutPurchasesNestedInput No
items PurchaseItemUpdateManyWithoutPurchaseNestedInput No

PurchaseUncheckedUpdateWithoutPaymentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
supplierId String | StringFieldUpdateOperationsInput No
responsibleId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
items PurchaseItemUncheckedUpdateManyWithoutPurchaseNestedInput No


SaleUpdateToOneWithWhereWithoutPaymentsInput

Name Type Nullable
where SaleWhereInput No
data SaleUpdateWithoutPaymentsInput | SaleUncheckedUpdateWithoutPaymentsInput No

SaleUpdateWithoutPaymentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutSalesNestedInput No
customer OrganizationCustomerUpdateOneWithoutSalesNestedInput No
responsible UserUpdateOneRequiredWithoutSalesNestedInput No
currency CurrencyUpdateOneRequiredWithoutSalesNestedInput No
kassa KassaUpdateOneWithoutSalesNestedInput No
items SaleItemUpdateManyWithoutSaleNestedInput No
installments InstallmentUpdateManyWithoutSaleNestedInput No
documents DocumentUpdateManyWithoutSaleNestedInput No

SaleUncheckedUpdateWithoutPaymentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
responsibleId String | StringFieldUpdateOperationsInput No
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
items SaleItemUncheckedUpdateManyWithoutSaleNestedInput No
installments InstallmentUncheckedUpdateManyWithoutSaleNestedInput No
documents DocumentUncheckedUpdateManyWithoutSaleNestedInput No


InstallmentPaymentUpdateWithWhereUniqueWithoutPaymentInput

Name Type Nullable
where InstallmentPaymentWhereUniqueInput No
data InstallmentPaymentUpdateWithoutPaymentInput | InstallmentPaymentUncheckedUpdateWithoutPaymentInput No

InstallmentPaymentUpdateManyWithWhereWithoutPaymentInput

Name Type Nullable
where InstallmentPaymentScalarWhereInput No
data InstallmentPaymentUpdateManyMutationInput | InstallmentPaymentUncheckedUpdateManyWithoutPaymentInput No

OrganizationCreateWithoutTransactionsInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerCreateNestedManyWithoutOrganizationInput No
products ProductCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceCreateNestedManyWithoutOrganizationInput No
kassas KassaCreateNestedManyWithoutOrganizationInput No
payments PaymentCreateNestedManyWithoutOrganizationInput No
sales SaleCreateNestedManyWithoutOrganizationInput No
purchases PurchaseCreateNestedManyWithoutOrganizationInput No
stocks StockCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferCreateNestedManyWithoutOrganizationInput No
settings SettingsCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogCreateNestedManyWithoutOrganizationInput No
documents DocumentCreateNestedManyWithoutOrganizationInput No

OrganizationUncheckedCreateWithoutTransactionsInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserUncheckedCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerUncheckedCreateNestedManyWithoutOrganizationInput No
products ProductUncheckedCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceUncheckedCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutOrganizationInput No
kassas KassaUncheckedCreateNestedManyWithoutOrganizationInput No
payments PaymentUncheckedCreateNestedManyWithoutOrganizationInput No
sales SaleUncheckedCreateNestedManyWithoutOrganizationInput No
purchases PurchaseUncheckedCreateNestedManyWithoutOrganizationInput No
stocks StockUncheckedCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferUncheckedCreateNestedManyWithoutOrganizationInput No
settings SettingsUncheckedCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutOrganizationInput No
documents DocumentUncheckedCreateNestedManyWithoutOrganizationInput No

OrganizationCreateOrConnectWithoutTransactionsInput

Name Type Nullable
where OrganizationWhereUniqueInput No
create OrganizationCreateWithoutTransactionsInput | OrganizationUncheckedCreateWithoutTransactionsInput No

OrganizationCustomerCreateWithoutTransactionsInput

Name Type Nullable
id String No
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutCustomersInput No
user UserCreateNestedOneWithoutCutomer_linksInput No
product_instances ProductInstanceCreateNestedManyWithoutCurrent_ownerInput No
payments PaymentCreateNestedManyWithoutCustomerInput No
sales SaleCreateNestedManyWithoutCustomerInput No
purchases PurchaseCreateNestedManyWithoutSupplierInput No
installments InstallmentCreateNestedManyWithoutCustomerInput No
documents DocumentCreateNestedManyWithoutCustomerInput No

OrganizationCustomerUncheckedCreateWithoutTransactionsInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput No
payments PaymentUncheckedCreateNestedManyWithoutCustomerInput No
sales SaleUncheckedCreateNestedManyWithoutCustomerInput No
purchases PurchaseUncheckedCreateNestedManyWithoutSupplierInput No
installments InstallmentUncheckedCreateNestedManyWithoutCustomerInput No
documents DocumentUncheckedCreateNestedManyWithoutCustomerInput No

OrganizationCustomerCreateOrConnectWithoutTransactionsInput

Name Type Nullable
where OrganizationCustomerWhereUniqueInput No
create OrganizationCustomerCreateWithoutTransactionsInput | OrganizationCustomerUncheckedCreateWithoutTransactionsInput No

CurrencyCreateWithoutTransactionsInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceCreateNestedManyWithoutCurrencyInput No
kassas KassaCreateNestedManyWithoutCurrencyInput No
payments PaymentCreateNestedManyWithoutCurrencyInput No
sales SaleCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemCreateNestedManyWithoutCurrencyInput No
purchases PurchaseCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferCreateNestedManyWithoutTo_currencyInput No
settings SettingsCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantCreateNestedManyWithoutCurrencyInput No

CurrencyUncheckedCreateWithoutTransactionsInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput No
kassas KassaUncheckedCreateNestedManyWithoutCurrencyInput No
payments PaymentUncheckedCreateNestedManyWithoutCurrencyInput No
sales SaleUncheckedCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemUncheckedCreateNestedManyWithoutCurrencyInput No
purchases PurchaseUncheckedCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput No
settings SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantUncheckedCreateNestedManyWithoutCurrencyInput No

CurrencyCreateOrConnectWithoutTransactionsInput

Name Type Nullable
where CurrencyWhereUniqueInput No
create CurrencyCreateWithoutTransactionsInput | CurrencyUncheckedCreateWithoutTransactionsInput No


OrganizationUpdateToOneWithWhereWithoutTransactionsInput

Name Type Nullable
where OrganizationWhereInput No
data OrganizationUpdateWithoutTransactionsInput | OrganizationUncheckedUpdateWithoutTransactionsInput No

OrganizationUpdateWithoutTransactionsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUpdateManyWithoutOrganizationNestedInput No
products ProductUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUpdateManyWithoutOrganizationNestedInput No
kassas KassaUpdateManyWithoutOrganizationNestedInput No
payments PaymentUpdateManyWithoutOrganizationNestedInput No
sales SaleUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUpdateManyWithoutOrganizationNestedInput No
stocks StockUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUpdateManyWithoutOrganizationNestedInput No
settings SettingsUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUpdateManyWithoutOrganizationNestedInput No
documents DocumentUpdateManyWithoutOrganizationNestedInput No

OrganizationUncheckedUpdateWithoutTransactionsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUncheckedUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUncheckedUpdateManyWithoutOrganizationNestedInput No
products ProductUncheckedUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUncheckedUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutOrganizationNestedInput No
kassas KassaUncheckedUpdateManyWithoutOrganizationNestedInput No
payments PaymentUncheckedUpdateManyWithoutOrganizationNestedInput No
sales SaleUncheckedUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutOrganizationNestedInput No
stocks StockUncheckedUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUncheckedUpdateManyWithoutOrganizationNestedInput No
settings SettingsUncheckedUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput No
documents DocumentUncheckedUpdateManyWithoutOrganizationNestedInput No


OrganizationCustomerUpdateToOneWithWhereWithoutTransactionsInput

Name Type Nullable
where OrganizationCustomerWhereInput No
data OrganizationCustomerUpdateWithoutTransactionsInput | OrganizationCustomerUncheckedUpdateWithoutTransactionsInput No

OrganizationCustomerUpdateWithoutTransactionsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutCustomersNestedInput No
user UserUpdateOneWithoutCutomer_linksNestedInput No
product_instances ProductInstanceUpdateManyWithoutCurrent_ownerNestedInput No
payments PaymentUpdateManyWithoutCustomerNestedInput No
sales SaleUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUpdateManyWithoutSupplierNestedInput No
installments InstallmentUpdateManyWithoutCustomerNestedInput No
documents DocumentUpdateManyWithoutCustomerNestedInput No

OrganizationCustomerUncheckedUpdateWithoutTransactionsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutCurrent_ownerNestedInput No
payments PaymentUncheckedUpdateManyWithoutCustomerNestedInput No
sales SaleUncheckedUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutSupplierNestedInput No
installments InstallmentUncheckedUpdateManyWithoutCustomerNestedInput No
documents DocumentUncheckedUpdateManyWithoutCustomerNestedInput No


CurrencyUpdateToOneWithWhereWithoutTransactionsInput

Name Type Nullable
where CurrencyWhereInput No
data CurrencyUpdateWithoutTransactionsInput | CurrencyUncheckedUpdateWithoutTransactionsInput No

CurrencyUpdateWithoutTransactionsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUpdateManyWithoutCurrencyNestedInput No
kassas KassaUpdateManyWithoutCurrencyNestedInput No
payments PaymentUpdateManyWithoutCurrencyNestedInput No
sales SaleUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUpdateManyWithoutCurrencyNestedInput No

CurrencyUncheckedUpdateWithoutTransactionsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput No
kassas KassaUncheckedUpdateManyWithoutCurrencyNestedInput No
payments PaymentUncheckedUpdateManyWithoutCurrencyNestedInput No
sales SaleUncheckedUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUncheckedUpdateManyWithoutCurrencyNestedInput No

OrganizationCreateWithoutSalesInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerCreateNestedManyWithoutOrganizationInput No
products ProductCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceCreateNestedManyWithoutOrganizationInput No
kassas KassaCreateNestedManyWithoutOrganizationInput No
payments PaymentCreateNestedManyWithoutOrganizationInput No
transactions TransactionCreateNestedManyWithoutOrganizationInput No
purchases PurchaseCreateNestedManyWithoutOrganizationInput No
stocks StockCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferCreateNestedManyWithoutOrganizationInput No
settings SettingsCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogCreateNestedManyWithoutOrganizationInput No
documents DocumentCreateNestedManyWithoutOrganizationInput No

OrganizationUncheckedCreateWithoutSalesInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserUncheckedCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerUncheckedCreateNestedManyWithoutOrganizationInput No
products ProductUncheckedCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceUncheckedCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutOrganizationInput No
kassas KassaUncheckedCreateNestedManyWithoutOrganizationInput No
payments PaymentUncheckedCreateNestedManyWithoutOrganizationInput No
transactions TransactionUncheckedCreateNestedManyWithoutOrganizationInput No
purchases PurchaseUncheckedCreateNestedManyWithoutOrganizationInput No
stocks StockUncheckedCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferUncheckedCreateNestedManyWithoutOrganizationInput No
settings SettingsUncheckedCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutOrganizationInput No
documents DocumentUncheckedCreateNestedManyWithoutOrganizationInput No

OrganizationCreateOrConnectWithoutSalesInput

Name Type Nullable
where OrganizationWhereUniqueInput No
create OrganizationCreateWithoutSalesInput | OrganizationUncheckedCreateWithoutSalesInput No

OrganizationCustomerCreateWithoutSalesInput

Name Type Nullable
id String No
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutCustomersInput No
user UserCreateNestedOneWithoutCutomer_linksInput No
product_instances ProductInstanceCreateNestedManyWithoutCurrent_ownerInput No
payments PaymentCreateNestedManyWithoutCustomerInput No
transactions TransactionCreateNestedManyWithoutCustomerInput No
purchases PurchaseCreateNestedManyWithoutSupplierInput No
installments InstallmentCreateNestedManyWithoutCustomerInput No
documents DocumentCreateNestedManyWithoutCustomerInput No

OrganizationCustomerUncheckedCreateWithoutSalesInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput No
payments PaymentUncheckedCreateNestedManyWithoutCustomerInput No
transactions TransactionUncheckedCreateNestedManyWithoutCustomerInput No
purchases PurchaseUncheckedCreateNestedManyWithoutSupplierInput No
installments InstallmentUncheckedCreateNestedManyWithoutCustomerInput No
documents DocumentUncheckedCreateNestedManyWithoutCustomerInput No

OrganizationCustomerCreateOrConnectWithoutSalesInput

Name Type Nullable
where OrganizationCustomerWhereUniqueInput No
create OrganizationCustomerCreateWithoutSalesInput | OrganizationCustomerUncheckedCreateWithoutSalesInput No

UserCreateWithoutSalesInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
profile UserProfileCreateNestedOneWithoutUserInput No
role RoleCreateNestedOneWithoutUsersInput No
org_links OrganizationUserCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerCreateNestedManyWithoutUserInput No
payments PaymentCreateNestedManyWithoutUserInput No
purchases PurchaseCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneCreateNestedManyWithoutUserInput No
audit_logs AuditLogCreateNestedManyWithoutUserInput No
documents DocumentCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutCreated_byInput No

UserUncheckedCreateWithoutSalesInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
roleId String | Null Yes
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
org_links OrganizationUserUncheckedCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput No
payments PaymentUncheckedCreateNestedManyWithoutUserInput No
purchases PurchaseUncheckedCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneUncheckedCreateNestedManyWithoutUserInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutUserInput No
documents DocumentUncheckedCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput No

UserCreateOrConnectWithoutSalesInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutSalesInput | UserUncheckedCreateWithoutSalesInput No

CurrencyCreateWithoutSalesInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceCreateNestedManyWithoutCurrencyInput No
kassas KassaCreateNestedManyWithoutCurrencyInput No
payments PaymentCreateNestedManyWithoutCurrencyInput No
transactions TransactionCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemCreateNestedManyWithoutCurrencyInput No
purchases PurchaseCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferCreateNestedManyWithoutTo_currencyInput No
settings SettingsCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantCreateNestedManyWithoutCurrencyInput No

CurrencyUncheckedCreateWithoutSalesInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput No
kassas KassaUncheckedCreateNestedManyWithoutCurrencyInput No
payments PaymentUncheckedCreateNestedManyWithoutCurrencyInput No
transactions TransactionUncheckedCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemUncheckedCreateNestedManyWithoutCurrencyInput No
purchases PurchaseUncheckedCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput No
settings SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantUncheckedCreateNestedManyWithoutCurrencyInput No

CurrencyCreateOrConnectWithoutSalesInput

Name Type Nullable
where CurrencyWhereUniqueInput No
create CurrencyCreateWithoutSalesInput | CurrencyUncheckedCreateWithoutSalesInput No

KassaCreateWithoutSalesInput

Name Type Nullable
id String No
name String No
type String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutKassasInput No
currency CurrencyCreateNestedOneWithoutKassasInput No
payments PaymentCreateNestedManyWithoutKassaInput No
purchases PurchaseCreateNestedManyWithoutKassaInput No
outgoing_transfers KassaTransferCreateNestedManyWithoutFrom_kassaInput No
incoming_transfers KassaTransferCreateNestedManyWithoutTo_kassaInput No

KassaUncheckedCreateWithoutSalesInput

Name Type Nullable
id String No
organizationId String No
name String No
type String No
currencyId String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No
payments PaymentUncheckedCreateNestedManyWithoutKassaInput No
purchases PurchaseUncheckedCreateNestedManyWithoutKassaInput No
outgoing_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_kassaInput No
incoming_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_kassaInput No

KassaCreateOrConnectWithoutSalesInput

Name Type Nullable
where KassaWhereUniqueInput No
create KassaCreateWithoutSalesInput | KassaUncheckedCreateWithoutSalesInput No

SaleItemCreateWithoutSaleInput

Name Type Nullable
id String No
quantity Int No
price Decimal No
total Decimal No
product_variant ProductVariantCreateNestedOneWithoutSele_itemsInput No
currency CurrencyCreateNestedOneWithoutSale_itemsInput No

SaleItemUncheckedCreateWithoutSaleInput

Name Type Nullable
id String No
productVariantId String No
quantity Int No
price Decimal No
total Decimal No
currencyId String No

SaleItemCreateOrConnectWithoutSaleInput

Name Type Nullable
where SaleItemWhereUniqueInput No
create SaleItemCreateWithoutSaleInput | SaleItemUncheckedCreateWithoutSaleInput No

SaleItemCreateManySaleInputEnvelope

Name Type Nullable
data SaleItemCreateManySaleInput | SaleItemCreateManySaleInput[] No
skipDuplicates Boolean No

PaymentCreateWithoutSaleInput

Name Type Nullable
id String No
amount Decimal No
type PaymentType No
description String | Null Yes
createdAt DateTime No
organization OrganizationCreateNestedOneWithoutPaymentsInput No
user UserCreateNestedOneWithoutPaymentsInput No
customer OrganizationCustomerCreateNestedOneWithoutPaymentsInput No
kassa KassaCreateNestedOneWithoutPaymentsInput No
currency CurrencyCreateNestedOneWithoutPaymentsInput No
purchase PurchaseCreateNestedOneWithoutPaymentsInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutPaymentInput No

PaymentUncheckedCreateWithoutSaleInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
customerId String | Null Yes
kassaId String No
amount Decimal No
currencyId String No
type PaymentType No
description String | Null Yes
purchaseId String | Null Yes
createdAt DateTime No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutPaymentInput No

PaymentCreateOrConnectWithoutSaleInput

Name Type Nullable
where PaymentWhereUniqueInput No
create PaymentCreateWithoutSaleInput | PaymentUncheckedCreateWithoutSaleInput No

PaymentCreateManySaleInputEnvelope

Name Type Nullable
data PaymentCreateManySaleInput | PaymentCreateManySaleInput[] No
skipDuplicates Boolean No

InstallmentCreateWithoutSaleInput

Name Type Nullable
id String No
totalAmount Decimal No
initialPayment Decimal No
paidAmount Decimal No
remaining Decimal No
totalMonths Int No
monthsLeft Int No
monthlyPayment Decimal No
dueDate DateTime No
status InstallmentStatus No
createdAt DateTime No
updatedAt DateTime No
customer OrganizationCustomerCreateNestedOneWithoutInstallmentsInput No
payments InstallmentPaymentCreateNestedManyWithoutInstallmentInput No

InstallmentUncheckedCreateWithoutSaleInput

Name Type Nullable
id String No
customerId String No
totalAmount Decimal No
initialPayment Decimal No
paidAmount Decimal No
remaining Decimal No
totalMonths Int No
monthsLeft Int No
monthlyPayment Decimal No
dueDate DateTime No
status InstallmentStatus No
createdAt DateTime No
updatedAt DateTime No
payments InstallmentPaymentUncheckedCreateNestedManyWithoutInstallmentInput No

InstallmentCreateOrConnectWithoutSaleInput

Name Type Nullable
where InstallmentWhereUniqueInput No
create InstallmentCreateWithoutSaleInput | InstallmentUncheckedCreateWithoutSaleInput No

InstallmentCreateManySaleInputEnvelope

Name Type Nullable
data InstallmentCreateManySaleInput | InstallmentCreateManySaleInput[] No
skipDuplicates Boolean No

DocumentCreateWithoutSaleInput

Name Type Nullable
id String No
type DocumentType No
fileUrl String No
createdAt DateTime No
uploadedBy UserCreateNestedOneWithoutDocumentsInput No
organization OrganizationCreateNestedOneWithoutDocumentsInput No
customer OrganizationCustomerCreateNestedOneWithoutDocumentsInput No

DocumentUncheckedCreateWithoutSaleInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
type DocumentType No
fileUrl String No
uploadedById String | Null Yes
createdAt DateTime No

DocumentCreateOrConnectWithoutSaleInput

Name Type Nullable
where DocumentWhereUniqueInput No
create DocumentCreateWithoutSaleInput | DocumentUncheckedCreateWithoutSaleInput No

DocumentCreateManySaleInputEnvelope

Name Type Nullable
data DocumentCreateManySaleInput | DocumentCreateManySaleInput[] No
skipDuplicates Boolean No


OrganizationUpdateToOneWithWhereWithoutSalesInput

Name Type Nullable
where OrganizationWhereInput No
data OrganizationUpdateWithoutSalesInput | OrganizationUncheckedUpdateWithoutSalesInput No

OrganizationUpdateWithoutSalesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUpdateManyWithoutOrganizationNestedInput No
products ProductUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUpdateManyWithoutOrganizationNestedInput No
kassas KassaUpdateManyWithoutOrganizationNestedInput No
payments PaymentUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUpdateManyWithoutOrganizationNestedInput No
stocks StockUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUpdateManyWithoutOrganizationNestedInput No
settings SettingsUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUpdateManyWithoutOrganizationNestedInput No
documents DocumentUpdateManyWithoutOrganizationNestedInput No

OrganizationUncheckedUpdateWithoutSalesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUncheckedUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUncheckedUpdateManyWithoutOrganizationNestedInput No
products ProductUncheckedUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUncheckedUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutOrganizationNestedInput No
kassas KassaUncheckedUpdateManyWithoutOrganizationNestedInput No
payments PaymentUncheckedUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUncheckedUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutOrganizationNestedInput No
stocks StockUncheckedUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUncheckedUpdateManyWithoutOrganizationNestedInput No
settings SettingsUncheckedUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput No
documents DocumentUncheckedUpdateManyWithoutOrganizationNestedInput No


OrganizationCustomerUpdateToOneWithWhereWithoutSalesInput

Name Type Nullable
where OrganizationCustomerWhereInput No
data OrganizationCustomerUpdateWithoutSalesInput | OrganizationCustomerUncheckedUpdateWithoutSalesInput No

OrganizationCustomerUpdateWithoutSalesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutCustomersNestedInput No
user UserUpdateOneWithoutCutomer_linksNestedInput No
product_instances ProductInstanceUpdateManyWithoutCurrent_ownerNestedInput No
payments PaymentUpdateManyWithoutCustomerNestedInput No
transactions TransactionUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUpdateManyWithoutSupplierNestedInput No
installments InstallmentUpdateManyWithoutCustomerNestedInput No
documents DocumentUpdateManyWithoutCustomerNestedInput No

OrganizationCustomerUncheckedUpdateWithoutSalesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutCurrent_ownerNestedInput No
payments PaymentUncheckedUpdateManyWithoutCustomerNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutSupplierNestedInput No
installments InstallmentUncheckedUpdateManyWithoutCustomerNestedInput No
documents DocumentUncheckedUpdateManyWithoutCustomerNestedInput No


UserUpdateToOneWithWhereWithoutSalesInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutSalesInput | UserUncheckedUpdateWithoutSalesInput No

UserUpdateWithoutSalesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
profile UserProfileUpdateOneWithoutUserNestedInput No
role RoleUpdateOneWithoutUsersNestedInput No
org_links OrganizationUserUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUpdateManyWithoutUserNestedInput No
payments PaymentUpdateManyWithoutUserNestedInput No
purchases PurchaseUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUpdateManyWithoutUserNestedInput No
documents DocumentUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUpdateManyWithoutCreated_byNestedInput No

UserUncheckedUpdateWithoutSalesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
roleId String | NullableStringFieldUpdateOperationsInput | Null Yes
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
org_links OrganizationUserUncheckedUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUncheckedUpdateManyWithoutUserNestedInput No
payments PaymentUncheckedUpdateManyWithoutUserNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUncheckedUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutUserNestedInput No
documents DocumentUncheckedUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutCreated_byNestedInput No


CurrencyUpdateToOneWithWhereWithoutSalesInput

Name Type Nullable
where CurrencyWhereInput No
data CurrencyUpdateWithoutSalesInput | CurrencyUncheckedUpdateWithoutSalesInput No

CurrencyUpdateWithoutSalesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUpdateManyWithoutCurrencyNestedInput No
kassas KassaUpdateManyWithoutCurrencyNestedInput No
payments PaymentUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUpdateManyWithoutCurrencyNestedInput No

CurrencyUncheckedUpdateWithoutSalesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput No
kassas KassaUncheckedUpdateManyWithoutCurrencyNestedInput No
payments PaymentUncheckedUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUncheckedUpdateManyWithoutCurrencyNestedInput No


KassaUpdateToOneWithWhereWithoutSalesInput

Name Type Nullable
where KassaWhereInput No
data KassaUpdateWithoutSalesInput | KassaUncheckedUpdateWithoutSalesInput No




SaleItemUpdateWithWhereUniqueWithoutSaleInput

Name Type Nullable
where SaleItemWhereUniqueInput No
data SaleItemUpdateWithoutSaleInput | SaleItemUncheckedUpdateWithoutSaleInput No

SaleItemUpdateManyWithWhereWithoutSaleInput

Name Type Nullable
where SaleItemScalarWhereInput No
data SaleItemUpdateManyMutationInput | SaleItemUncheckedUpdateManyWithoutSaleInput No


PaymentUpdateWithWhereUniqueWithoutSaleInput

Name Type Nullable
where PaymentWhereUniqueInput No
data PaymentUpdateWithoutSaleInput | PaymentUncheckedUpdateWithoutSaleInput No

PaymentUpdateManyWithWhereWithoutSaleInput

Name Type Nullable
where PaymentScalarWhereInput No
data PaymentUpdateManyMutationInput | PaymentUncheckedUpdateManyWithoutSaleInput No


InstallmentUpdateWithWhereUniqueWithoutSaleInput

Name Type Nullable
where InstallmentWhereUniqueInput No
data InstallmentUpdateWithoutSaleInput | InstallmentUncheckedUpdateWithoutSaleInput No

InstallmentUpdateManyWithWhereWithoutSaleInput

Name Type Nullable
where InstallmentScalarWhereInput No
data InstallmentUpdateManyMutationInput | InstallmentUncheckedUpdateManyWithoutSaleInput No


DocumentUpdateWithWhereUniqueWithoutSaleInput

Name Type Nullable
where DocumentWhereUniqueInput No
data DocumentUpdateWithoutSaleInput | DocumentUncheckedUpdateWithoutSaleInput No

DocumentUpdateManyWithWhereWithoutSaleInput

Name Type Nullable
where DocumentScalarWhereInput No
data DocumentUpdateManyMutationInput | DocumentUncheckedUpdateManyWithoutSaleInput No

SaleCreateWithoutItemsInput

Name Type Nullable
id String No
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutSalesInput No
customer OrganizationCustomerCreateNestedOneWithoutSalesInput No
responsible UserCreateNestedOneWithoutSalesInput No
currency CurrencyCreateNestedOneWithoutSalesInput No
kassa KassaCreateNestedOneWithoutSalesInput No
payments PaymentCreateNestedManyWithoutSaleInput No
installments InstallmentCreateNestedManyWithoutSaleInput No
documents DocumentCreateNestedManyWithoutSaleInput No

SaleUncheckedCreateWithoutItemsInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
responsibleId String No
kassaId String | Null Yes
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
payments PaymentUncheckedCreateNestedManyWithoutSaleInput No
installments InstallmentUncheckedCreateNestedManyWithoutSaleInput No
documents DocumentUncheckedCreateNestedManyWithoutSaleInput No

SaleCreateOrConnectWithoutItemsInput

Name Type Nullable
where SaleWhereUniqueInput No
create SaleCreateWithoutItemsInput | SaleUncheckedCreateWithoutItemsInput No

ProductVariantCreateWithoutSele_itemsInput

Name Type Nullable
id String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
createdAt DateTime No
updatedAt DateTime No
currency CurrencyCreateNestedOneWithoutProduct_variantInput No
product ProductCreateNestedOneWithoutVariantsInput No
product_instance ProductInstanceCreateNestedManyWithoutProductVariantInput No
product_variant_attribute ProductVariantAttributeCreateNestedManyWithoutVariantInput No
product_batches ProductBatchCreateNestedManyWithoutProduct_variantInput No
stocks StockCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemCreateNestedManyWithoutProduct_variantInput No
images ProductImageCreateNestedManyWithoutProductVariantInput No

ProductVariantUncheckedCreateWithoutSele_itemsInput

Name Type Nullable
id String No
productId String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
currencyId String | Null Yes
createdAt DateTime No
updatedAt DateTime No
product_instance ProductInstanceUncheckedCreateNestedManyWithoutProductVariantInput No
product_variant_attribute ProductVariantAttributeUncheckedCreateNestedManyWithoutVariantInput No
product_batches ProductBatchUncheckedCreateNestedManyWithoutProduct_variantInput No
stocks StockUncheckedCreateNestedManyWithoutProduct_variantInput No
purchase_items PurchaseItemUncheckedCreateNestedManyWithoutProduct_variantInput No
images ProductImageUncheckedCreateNestedManyWithoutProductVariantInput No

ProductVariantCreateOrConnectWithoutSele_itemsInput

Name Type Nullable
where ProductVariantWhereUniqueInput No
create ProductVariantCreateWithoutSele_itemsInput | ProductVariantUncheckedCreateWithoutSele_itemsInput No

CurrencyCreateWithoutSale_itemsInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceCreateNestedManyWithoutCurrencyInput No
kassas KassaCreateNestedManyWithoutCurrencyInput No
payments PaymentCreateNestedManyWithoutCurrencyInput No
transactions TransactionCreateNestedManyWithoutCurrencyInput No
sales SaleCreateNestedManyWithoutCurrencyInput No
purchases PurchaseCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferCreateNestedManyWithoutTo_currencyInput No
settings SettingsCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantCreateNestedManyWithoutCurrencyInput No

CurrencyUncheckedCreateWithoutSale_itemsInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput No
kassas KassaUncheckedCreateNestedManyWithoutCurrencyInput No
payments PaymentUncheckedCreateNestedManyWithoutCurrencyInput No
transactions TransactionUncheckedCreateNestedManyWithoutCurrencyInput No
sales SaleUncheckedCreateNestedManyWithoutCurrencyInput No
purchases PurchaseUncheckedCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput No
settings SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantUncheckedCreateNestedManyWithoutCurrencyInput No

CurrencyCreateOrConnectWithoutSale_itemsInput

Name Type Nullable
where CurrencyWhereUniqueInput No
create CurrencyCreateWithoutSale_itemsInput | CurrencyUncheckedCreateWithoutSale_itemsInput No


SaleUpdateToOneWithWhereWithoutItemsInput

Name Type Nullable
where SaleWhereInput No
data SaleUpdateWithoutItemsInput | SaleUncheckedUpdateWithoutItemsInput No

SaleUpdateWithoutItemsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutSalesNestedInput No
customer OrganizationCustomerUpdateOneWithoutSalesNestedInput No
responsible UserUpdateOneRequiredWithoutSalesNestedInput No
currency CurrencyUpdateOneRequiredWithoutSalesNestedInput No
kassa KassaUpdateOneWithoutSalesNestedInput No
payments PaymentUpdateManyWithoutSaleNestedInput No
installments InstallmentUpdateManyWithoutSaleNestedInput No
documents DocumentUpdateManyWithoutSaleNestedInput No

SaleUncheckedUpdateWithoutItemsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
responsibleId String | StringFieldUpdateOperationsInput No
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
payments PaymentUncheckedUpdateManyWithoutSaleNestedInput No
installments InstallmentUncheckedUpdateManyWithoutSaleNestedInput No
documents DocumentUncheckedUpdateManyWithoutSaleNestedInput No


ProductVariantUpdateToOneWithWhereWithoutSele_itemsInput

Name Type Nullable
where ProductVariantWhereInput No
data ProductVariantUpdateWithoutSele_itemsInput | ProductVariantUncheckedUpdateWithoutSele_itemsInput No

ProductVariantUpdateWithoutSele_itemsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
currency CurrencyUpdateOneWithoutProduct_variantNestedInput No
product ProductUpdateOneRequiredWithoutVariantsNestedInput No
product_instance ProductInstanceUpdateManyWithoutProductVariantNestedInput No
product_variant_attribute ProductVariantAttributeUpdateManyWithoutVariantNestedInput No
product_batches ProductBatchUpdateManyWithoutProduct_variantNestedInput No
stocks StockUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUpdateManyWithoutProductVariantNestedInput No

ProductVariantUncheckedUpdateWithoutSele_itemsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
currencyId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instance ProductInstanceUncheckedUpdateManyWithoutProductVariantNestedInput No
product_variant_attribute ProductVariantAttributeUncheckedUpdateManyWithoutVariantNestedInput No
product_batches ProductBatchUncheckedUpdateManyWithoutProduct_variantNestedInput No
stocks StockUncheckedUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUncheckedUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUncheckedUpdateManyWithoutProductVariantNestedInput No


CurrencyUpdateToOneWithWhereWithoutSale_itemsInput

Name Type Nullable
where CurrencyWhereInput No
data CurrencyUpdateWithoutSale_itemsInput | CurrencyUncheckedUpdateWithoutSale_itemsInput No

CurrencyUpdateWithoutSale_itemsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUpdateManyWithoutCurrencyNestedInput No
kassas KassaUpdateManyWithoutCurrencyNestedInput No
payments PaymentUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUpdateManyWithoutCurrencyNestedInput No
sales SaleUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUpdateManyWithoutCurrencyNestedInput No

CurrencyUncheckedUpdateWithoutSale_itemsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput No
kassas KassaUncheckedUpdateManyWithoutCurrencyNestedInput No
payments PaymentUncheckedUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCurrencyNestedInput No
sales SaleUncheckedUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUncheckedUpdateManyWithoutCurrencyNestedInput No

OrganizationCreateWithoutPurchasesInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerCreateNestedManyWithoutOrganizationInput No
products ProductCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceCreateNestedManyWithoutOrganizationInput No
kassas KassaCreateNestedManyWithoutOrganizationInput No
payments PaymentCreateNestedManyWithoutOrganizationInput No
transactions TransactionCreateNestedManyWithoutOrganizationInput No
sales SaleCreateNestedManyWithoutOrganizationInput No
stocks StockCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferCreateNestedManyWithoutOrganizationInput No
settings SettingsCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogCreateNestedManyWithoutOrganizationInput No
documents DocumentCreateNestedManyWithoutOrganizationInput No

OrganizationUncheckedCreateWithoutPurchasesInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserUncheckedCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerUncheckedCreateNestedManyWithoutOrganizationInput No
products ProductUncheckedCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceUncheckedCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutOrganizationInput No
kassas KassaUncheckedCreateNestedManyWithoutOrganizationInput No
payments PaymentUncheckedCreateNestedManyWithoutOrganizationInput No
transactions TransactionUncheckedCreateNestedManyWithoutOrganizationInput No
sales SaleUncheckedCreateNestedManyWithoutOrganizationInput No
stocks StockUncheckedCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferUncheckedCreateNestedManyWithoutOrganizationInput No
settings SettingsUncheckedCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutOrganizationInput No
documents DocumentUncheckedCreateNestedManyWithoutOrganizationInput No

OrganizationCreateOrConnectWithoutPurchasesInput

Name Type Nullable
where OrganizationWhereUniqueInput No
create OrganizationCreateWithoutPurchasesInput | OrganizationUncheckedCreateWithoutPurchasesInput No

OrganizationCustomerCreateWithoutPurchasesInput

Name Type Nullable
id String No
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutCustomersInput No
user UserCreateNestedOneWithoutCutomer_linksInput No
product_instances ProductInstanceCreateNestedManyWithoutCurrent_ownerInput No
payments PaymentCreateNestedManyWithoutCustomerInput No
transactions TransactionCreateNestedManyWithoutCustomerInput No
sales SaleCreateNestedManyWithoutCustomerInput No
installments InstallmentCreateNestedManyWithoutCustomerInput No
documents DocumentCreateNestedManyWithoutCustomerInput No

OrganizationCustomerUncheckedCreateWithoutPurchasesInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput No
payments PaymentUncheckedCreateNestedManyWithoutCustomerInput No
transactions TransactionUncheckedCreateNestedManyWithoutCustomerInput No
sales SaleUncheckedCreateNestedManyWithoutCustomerInput No
installments InstallmentUncheckedCreateNestedManyWithoutCustomerInput No
documents DocumentUncheckedCreateNestedManyWithoutCustomerInput No

OrganizationCustomerCreateOrConnectWithoutPurchasesInput

Name Type Nullable
where OrganizationCustomerWhereUniqueInput No
create OrganizationCustomerCreateWithoutPurchasesInput | OrganizationCustomerUncheckedCreateWithoutPurchasesInput No

UserCreateWithoutPurchasesInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
profile UserProfileCreateNestedOneWithoutUserInput No
role RoleCreateNestedOneWithoutUsersInput No
org_links OrganizationUserCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerCreateNestedManyWithoutUserInput No
payments PaymentCreateNestedManyWithoutUserInput No
sales SaleCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneCreateNestedManyWithoutUserInput No
audit_logs AuditLogCreateNestedManyWithoutUserInput No
documents DocumentCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutCreated_byInput No

UserUncheckedCreateWithoutPurchasesInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
roleId String | Null Yes
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
org_links OrganizationUserUncheckedCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput No
payments PaymentUncheckedCreateNestedManyWithoutUserInput No
sales SaleUncheckedCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneUncheckedCreateNestedManyWithoutUserInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutUserInput No
documents DocumentUncheckedCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput No

UserCreateOrConnectWithoutPurchasesInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutPurchasesInput | UserUncheckedCreateWithoutPurchasesInput No

CurrencyCreateWithoutPurchasesInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceCreateNestedManyWithoutCurrencyInput No
kassas KassaCreateNestedManyWithoutCurrencyInput No
payments PaymentCreateNestedManyWithoutCurrencyInput No
transactions TransactionCreateNestedManyWithoutCurrencyInput No
sales SaleCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferCreateNestedManyWithoutTo_currencyInput No
settings SettingsCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantCreateNestedManyWithoutCurrencyInput No

CurrencyUncheckedCreateWithoutPurchasesInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput No
kassas KassaUncheckedCreateNestedManyWithoutCurrencyInput No
payments PaymentUncheckedCreateNestedManyWithoutCurrencyInput No
transactions TransactionUncheckedCreateNestedManyWithoutCurrencyInput No
sales SaleUncheckedCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemUncheckedCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput No
settings SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput No
product_variant ProductVariantUncheckedCreateNestedManyWithoutCurrencyInput No

CurrencyCreateOrConnectWithoutPurchasesInput

Name Type Nullable
where CurrencyWhereUniqueInput No
create CurrencyCreateWithoutPurchasesInput | CurrencyUncheckedCreateWithoutPurchasesInput No

KassaCreateWithoutPurchasesInput

Name Type Nullable
id String No
name String No
type String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutKassasInput No
currency CurrencyCreateNestedOneWithoutKassasInput No
payments PaymentCreateNestedManyWithoutKassaInput No
sales SaleCreateNestedManyWithoutKassaInput No
outgoing_transfers KassaTransferCreateNestedManyWithoutFrom_kassaInput No
incoming_transfers KassaTransferCreateNestedManyWithoutTo_kassaInput No

KassaUncheckedCreateWithoutPurchasesInput

Name Type Nullable
id String No
organizationId String No
name String No
type String No
currencyId String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No
payments PaymentUncheckedCreateNestedManyWithoutKassaInput No
sales SaleUncheckedCreateNestedManyWithoutKassaInput No
outgoing_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_kassaInput No
incoming_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_kassaInput No

KassaCreateOrConnectWithoutPurchasesInput

Name Type Nullable
where KassaWhereUniqueInput No
create KassaCreateWithoutPurchasesInput | KassaUncheckedCreateWithoutPurchasesInput No

PurchaseItemCreateWithoutPurchaseInput

Name Type Nullable
id String No
quantity Int No
price Decimal No
discount Decimal No
total Decimal No
product_variant ProductVariantCreateNestedOneWithoutPurchase_itemsInput No

PurchaseItemUncheckedCreateWithoutPurchaseInput

Name Type Nullable
id String No
productVariantId String No
quantity Int No
price Decimal No
discount Decimal No
total Decimal No

PurchaseItemCreateOrConnectWithoutPurchaseInput

Name Type Nullable
where PurchaseItemWhereUniqueInput No
create PurchaseItemCreateWithoutPurchaseInput | PurchaseItemUncheckedCreateWithoutPurchaseInput No

PurchaseItemCreateManyPurchaseInputEnvelope

Name Type Nullable
data PurchaseItemCreateManyPurchaseInput | PurchaseItemCreateManyPurchaseInput[] No
skipDuplicates Boolean No

PaymentCreateWithoutPurchaseInput

Name Type Nullable
id String No
amount Decimal No
type PaymentType No
description String | Null Yes
createdAt DateTime No
organization OrganizationCreateNestedOneWithoutPaymentsInput No
user UserCreateNestedOneWithoutPaymentsInput No
customer OrganizationCustomerCreateNestedOneWithoutPaymentsInput No
kassa KassaCreateNestedOneWithoutPaymentsInput No
currency CurrencyCreateNestedOneWithoutPaymentsInput No
sale SaleCreateNestedOneWithoutPaymentsInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutPaymentInput No

PaymentUncheckedCreateWithoutPurchaseInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
customerId String | Null Yes
kassaId String No
amount Decimal No
currencyId String No
type PaymentType No
description String | Null Yes
saleId String | Null Yes
createdAt DateTime No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutPaymentInput No

PaymentCreateOrConnectWithoutPurchaseInput

Name Type Nullable
where PaymentWhereUniqueInput No
create PaymentCreateWithoutPurchaseInput | PaymentUncheckedCreateWithoutPurchaseInput No

PaymentCreateManyPurchaseInputEnvelope

Name Type Nullable
data PaymentCreateManyPurchaseInput | PaymentCreateManyPurchaseInput[] No
skipDuplicates Boolean No


OrganizationUpdateToOneWithWhereWithoutPurchasesInput

Name Type Nullable
where OrganizationWhereInput No
data OrganizationUpdateWithoutPurchasesInput | OrganizationUncheckedUpdateWithoutPurchasesInput No

OrganizationUpdateWithoutPurchasesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUpdateManyWithoutOrganizationNestedInput No
products ProductUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUpdateManyWithoutOrganizationNestedInput No
kassas KassaUpdateManyWithoutOrganizationNestedInput No
payments PaymentUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUpdateManyWithoutOrganizationNestedInput No
sales SaleUpdateManyWithoutOrganizationNestedInput No
stocks StockUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUpdateManyWithoutOrganizationNestedInput No
settings SettingsUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUpdateManyWithoutOrganizationNestedInput No
documents DocumentUpdateManyWithoutOrganizationNestedInput No

OrganizationUncheckedUpdateWithoutPurchasesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUncheckedUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUncheckedUpdateManyWithoutOrganizationNestedInput No
products ProductUncheckedUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUncheckedUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutOrganizationNestedInput No
kassas KassaUncheckedUpdateManyWithoutOrganizationNestedInput No
payments PaymentUncheckedUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUncheckedUpdateManyWithoutOrganizationNestedInput No
sales SaleUncheckedUpdateManyWithoutOrganizationNestedInput No
stocks StockUncheckedUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUncheckedUpdateManyWithoutOrganizationNestedInput No
settings SettingsUncheckedUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput No
documents DocumentUncheckedUpdateManyWithoutOrganizationNestedInput No


OrganizationCustomerUpdateToOneWithWhereWithoutPurchasesInput

Name Type Nullable
where OrganizationCustomerWhereInput No
data OrganizationCustomerUpdateWithoutPurchasesInput | OrganizationCustomerUncheckedUpdateWithoutPurchasesInput No

OrganizationCustomerUpdateWithoutPurchasesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutCustomersNestedInput No
user UserUpdateOneWithoutCutomer_linksNestedInput No
product_instances ProductInstanceUpdateManyWithoutCurrent_ownerNestedInput No
payments PaymentUpdateManyWithoutCustomerNestedInput No
transactions TransactionUpdateManyWithoutCustomerNestedInput No
sales SaleUpdateManyWithoutCustomerNestedInput No
installments InstallmentUpdateManyWithoutCustomerNestedInput No
documents DocumentUpdateManyWithoutCustomerNestedInput No

OrganizationCustomerUncheckedUpdateWithoutPurchasesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutCurrent_ownerNestedInput No
payments PaymentUncheckedUpdateManyWithoutCustomerNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCustomerNestedInput No
sales SaleUncheckedUpdateManyWithoutCustomerNestedInput No
installments InstallmentUncheckedUpdateManyWithoutCustomerNestedInput No
documents DocumentUncheckedUpdateManyWithoutCustomerNestedInput No


UserUpdateToOneWithWhereWithoutPurchasesInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutPurchasesInput | UserUncheckedUpdateWithoutPurchasesInput No

UserUpdateWithoutPurchasesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
profile UserProfileUpdateOneWithoutUserNestedInput No
role RoleUpdateOneWithoutUsersNestedInput No
org_links OrganizationUserUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUpdateManyWithoutUserNestedInput No
payments PaymentUpdateManyWithoutUserNestedInput No
sales SaleUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUpdateManyWithoutUserNestedInput No
documents DocumentUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUpdateManyWithoutCreated_byNestedInput No

UserUncheckedUpdateWithoutPurchasesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
roleId String | NullableStringFieldUpdateOperationsInput | Null Yes
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
org_links OrganizationUserUncheckedUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUncheckedUpdateManyWithoutUserNestedInput No
payments PaymentUncheckedUpdateManyWithoutUserNestedInput No
sales SaleUncheckedUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUncheckedUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutUserNestedInput No
documents DocumentUncheckedUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutCreated_byNestedInput No


CurrencyUpdateToOneWithWhereWithoutPurchasesInput

Name Type Nullable
where CurrencyWhereInput No
data CurrencyUpdateWithoutPurchasesInput | CurrencyUncheckedUpdateWithoutPurchasesInput No

CurrencyUpdateWithoutPurchasesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUpdateManyWithoutCurrencyNestedInput No
kassas KassaUpdateManyWithoutCurrencyNestedInput No
payments PaymentUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUpdateManyWithoutCurrencyNestedInput No
sales SaleUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUpdateManyWithoutCurrencyNestedInput No

CurrencyUncheckedUpdateWithoutPurchasesInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput No
kassas KassaUncheckedUpdateManyWithoutCurrencyNestedInput No
payments PaymentUncheckedUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCurrencyNestedInput No
sales SaleUncheckedUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput No
settings SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput No
product_variant ProductVariantUncheckedUpdateManyWithoutCurrencyNestedInput No


KassaUpdateToOneWithWhereWithoutPurchasesInput

Name Type Nullable
where KassaWhereInput No
data KassaUpdateWithoutPurchasesInput | KassaUncheckedUpdateWithoutPurchasesInput No




PurchaseItemUpdateWithWhereUniqueWithoutPurchaseInput

Name Type Nullable
where PurchaseItemWhereUniqueInput No
data PurchaseItemUpdateWithoutPurchaseInput | PurchaseItemUncheckedUpdateWithoutPurchaseInput No

PurchaseItemUpdateManyWithWhereWithoutPurchaseInput

Name Type Nullable
where PurchaseItemScalarWhereInput No
data PurchaseItemUpdateManyMutationInput | PurchaseItemUncheckedUpdateManyWithoutPurchaseInput No


PaymentUpdateWithWhereUniqueWithoutPurchaseInput

Name Type Nullable
where PaymentWhereUniqueInput No
data PaymentUpdateWithoutPurchaseInput | PaymentUncheckedUpdateWithoutPurchaseInput No

PaymentUpdateManyWithWhereWithoutPurchaseInput

Name Type Nullable
where PaymentScalarWhereInput No
data PaymentUpdateManyMutationInput | PaymentUncheckedUpdateManyWithoutPurchaseInput No

PurchaseCreateWithoutItemsInput

Name Type Nullable
id String No
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutPurchasesInput No
supplier OrganizationCustomerCreateNestedOneWithoutPurchasesInput No
responsible UserCreateNestedOneWithoutPurchasesInput No
currency CurrencyCreateNestedOneWithoutPurchasesInput No
kassa KassaCreateNestedOneWithoutPurchasesInput No
payments PaymentCreateNestedManyWithoutPurchaseInput No

PurchaseUncheckedCreateWithoutItemsInput

Name Type Nullable
id String No
organizationId String No
supplierId String No
responsibleId String | Null Yes
kassaId String | Null Yes
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
payments PaymentUncheckedCreateNestedManyWithoutPurchaseInput No

PurchaseCreateOrConnectWithoutItemsInput

Name Type Nullable
where PurchaseWhereUniqueInput No
create PurchaseCreateWithoutItemsInput | PurchaseUncheckedCreateWithoutItemsInput No

ProductVariantCreateWithoutPurchase_itemsInput

Name Type Nullable
id String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
createdAt DateTime No
updatedAt DateTime No
currency CurrencyCreateNestedOneWithoutProduct_variantInput No
product ProductCreateNestedOneWithoutVariantsInput No
product_instance ProductInstanceCreateNestedManyWithoutProductVariantInput No
product_variant_attribute ProductVariantAttributeCreateNestedManyWithoutVariantInput No
product_batches ProductBatchCreateNestedManyWithoutProduct_variantInput No
stocks StockCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemCreateNestedManyWithoutProduct_variantInput No
images ProductImageCreateNestedManyWithoutProductVariantInput No

ProductVariantUncheckedCreateWithoutPurchase_itemsInput

Name Type Nullable
id String No
productId String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
currencyId String | Null Yes
createdAt DateTime No
updatedAt DateTime No
product_instance ProductInstanceUncheckedCreateNestedManyWithoutProductVariantInput No
product_variant_attribute ProductVariantAttributeUncheckedCreateNestedManyWithoutVariantInput No
product_batches ProductBatchUncheckedCreateNestedManyWithoutProduct_variantInput No
stocks StockUncheckedCreateNestedManyWithoutProduct_variantInput No
sele_items SaleItemUncheckedCreateNestedManyWithoutProduct_variantInput No
images ProductImageUncheckedCreateNestedManyWithoutProductVariantInput No

ProductVariantCreateOrConnectWithoutPurchase_itemsInput

Name Type Nullable
where ProductVariantWhereUniqueInput No
create ProductVariantCreateWithoutPurchase_itemsInput | ProductVariantUncheckedCreateWithoutPurchase_itemsInput No


PurchaseUpdateToOneWithWhereWithoutItemsInput

Name Type Nullable
where PurchaseWhereInput No
data PurchaseUpdateWithoutItemsInput | PurchaseUncheckedUpdateWithoutItemsInput No

PurchaseUpdateWithoutItemsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutPurchasesNestedInput No
supplier OrganizationCustomerUpdateOneRequiredWithoutPurchasesNestedInput No
responsible UserUpdateOneWithoutPurchasesNestedInput No
currency CurrencyUpdateOneRequiredWithoutPurchasesNestedInput No
kassa KassaUpdateOneWithoutPurchasesNestedInput No
payments PaymentUpdateManyWithoutPurchaseNestedInput No

PurchaseUncheckedUpdateWithoutItemsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
supplierId String | StringFieldUpdateOperationsInput No
responsibleId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
payments PaymentUncheckedUpdateManyWithoutPurchaseNestedInput No


ProductVariantUpdateToOneWithWhereWithoutPurchase_itemsInput

Name Type Nullable
where ProductVariantWhereInput No
data ProductVariantUpdateWithoutPurchase_itemsInput | ProductVariantUncheckedUpdateWithoutPurchase_itemsInput No

ProductVariantUpdateWithoutPurchase_itemsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
currency CurrencyUpdateOneWithoutProduct_variantNestedInput No
product ProductUpdateOneRequiredWithoutVariantsNestedInput No
product_instance ProductInstanceUpdateManyWithoutProductVariantNestedInput No
product_variant_attribute ProductVariantAttributeUpdateManyWithoutVariantNestedInput No
product_batches ProductBatchUpdateManyWithoutProduct_variantNestedInput No
stocks StockUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUpdateManyWithoutProductVariantNestedInput No

ProductVariantUncheckedUpdateWithoutPurchase_itemsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
currencyId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instance ProductInstanceUncheckedUpdateManyWithoutProductVariantNestedInput No
product_variant_attribute ProductVariantAttributeUncheckedUpdateManyWithoutVariantNestedInput No
product_batches ProductBatchUncheckedUpdateManyWithoutProduct_variantNestedInput No
stocks StockUncheckedUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUncheckedUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUncheckedUpdateManyWithoutProductVariantNestedInput No

SaleCreateWithoutInstallmentsInput

Name Type Nullable
id String No
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutSalesInput No
customer OrganizationCustomerCreateNestedOneWithoutSalesInput No
responsible UserCreateNestedOneWithoutSalesInput No
currency CurrencyCreateNestedOneWithoutSalesInput No
kassa KassaCreateNestedOneWithoutSalesInput No
items SaleItemCreateNestedManyWithoutSaleInput No
payments PaymentCreateNestedManyWithoutSaleInput No
documents DocumentCreateNestedManyWithoutSaleInput No

SaleUncheckedCreateWithoutInstallmentsInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
responsibleId String No
kassaId String | Null Yes
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
items SaleItemUncheckedCreateNestedManyWithoutSaleInput No
payments PaymentUncheckedCreateNestedManyWithoutSaleInput No
documents DocumentUncheckedCreateNestedManyWithoutSaleInput No

SaleCreateOrConnectWithoutInstallmentsInput

Name Type Nullable
where SaleWhereUniqueInput No
create SaleCreateWithoutInstallmentsInput | SaleUncheckedCreateWithoutInstallmentsInput No

OrganizationCustomerCreateWithoutInstallmentsInput

Name Type Nullable
id String No
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutCustomersInput No
user UserCreateNestedOneWithoutCutomer_linksInput No
product_instances ProductInstanceCreateNestedManyWithoutCurrent_ownerInput No
payments PaymentCreateNestedManyWithoutCustomerInput No
transactions TransactionCreateNestedManyWithoutCustomerInput No
sales SaleCreateNestedManyWithoutCustomerInput No
purchases PurchaseCreateNestedManyWithoutSupplierInput No
documents DocumentCreateNestedManyWithoutCustomerInput No

OrganizationCustomerUncheckedCreateWithoutInstallmentsInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput No
payments PaymentUncheckedCreateNestedManyWithoutCustomerInput No
transactions TransactionUncheckedCreateNestedManyWithoutCustomerInput No
sales SaleUncheckedCreateNestedManyWithoutCustomerInput No
purchases PurchaseUncheckedCreateNestedManyWithoutSupplierInput No
documents DocumentUncheckedCreateNestedManyWithoutCustomerInput No

OrganizationCustomerCreateOrConnectWithoutInstallmentsInput

Name Type Nullable
where OrganizationCustomerWhereUniqueInput No
create OrganizationCustomerCreateWithoutInstallmentsInput | OrganizationCustomerUncheckedCreateWithoutInstallmentsInput No

InstallmentPaymentCreateWithoutInstallmentInput

Name Type Nullable
id String No
amount Decimal No
paidAt DateTime No
paymentMethod String | Null Yes
note String | Null Yes
created_by UserCreateNestedOneWithoutInstallment_paymentsInput No
payment PaymentCreateNestedOneWithoutInstallment_paymentsInput No

InstallmentPaymentUncheckedCreateWithoutInstallmentInput

Name Type Nullable
id String No
amount Decimal No
paidAt DateTime No
paymentMethod String | Null Yes
note String | Null Yes
createdById String | Null Yes
paymentId String | Null Yes

InstallmentPaymentCreateOrConnectWithoutInstallmentInput

Name Type Nullable
where InstallmentPaymentWhereUniqueInput No
create InstallmentPaymentCreateWithoutInstallmentInput | InstallmentPaymentUncheckedCreateWithoutInstallmentInput No

InstallmentPaymentCreateManyInstallmentInputEnvelope

Name Type Nullable
data InstallmentPaymentCreateManyInstallmentInput | InstallmentPaymentCreateManyInstallmentInput[] No
skipDuplicates Boolean No


SaleUpdateToOneWithWhereWithoutInstallmentsInput

Name Type Nullable
where SaleWhereInput No
data SaleUpdateWithoutInstallmentsInput | SaleUncheckedUpdateWithoutInstallmentsInput No

SaleUpdateWithoutInstallmentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutSalesNestedInput No
customer OrganizationCustomerUpdateOneWithoutSalesNestedInput No
responsible UserUpdateOneRequiredWithoutSalesNestedInput No
currency CurrencyUpdateOneRequiredWithoutSalesNestedInput No
kassa KassaUpdateOneWithoutSalesNestedInput No
items SaleItemUpdateManyWithoutSaleNestedInput No
payments PaymentUpdateManyWithoutSaleNestedInput No
documents DocumentUpdateManyWithoutSaleNestedInput No

SaleUncheckedUpdateWithoutInstallmentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
responsibleId String | StringFieldUpdateOperationsInput No
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
items SaleItemUncheckedUpdateManyWithoutSaleNestedInput No
payments PaymentUncheckedUpdateManyWithoutSaleNestedInput No
documents DocumentUncheckedUpdateManyWithoutSaleNestedInput No


OrganizationCustomerUpdateToOneWithWhereWithoutInstallmentsInput

Name Type Nullable
where OrganizationCustomerWhereInput No
data OrganizationCustomerUpdateWithoutInstallmentsInput | OrganizationCustomerUncheckedUpdateWithoutInstallmentsInput No

OrganizationCustomerUpdateWithoutInstallmentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutCustomersNestedInput No
user UserUpdateOneWithoutCutomer_linksNestedInput No
product_instances ProductInstanceUpdateManyWithoutCurrent_ownerNestedInput No
payments PaymentUpdateManyWithoutCustomerNestedInput No
transactions TransactionUpdateManyWithoutCustomerNestedInput No
sales SaleUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUpdateManyWithoutSupplierNestedInput No
documents DocumentUpdateManyWithoutCustomerNestedInput No

OrganizationCustomerUncheckedUpdateWithoutInstallmentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutCurrent_ownerNestedInput No
payments PaymentUncheckedUpdateManyWithoutCustomerNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCustomerNestedInput No
sales SaleUncheckedUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutSupplierNestedInput No
documents DocumentUncheckedUpdateManyWithoutCustomerNestedInput No


InstallmentPaymentUpdateWithWhereUniqueWithoutInstallmentInput

Name Type Nullable
where InstallmentPaymentWhereUniqueInput No
data InstallmentPaymentUpdateWithoutInstallmentInput | InstallmentPaymentUncheckedUpdateWithoutInstallmentInput No

InstallmentPaymentUpdateManyWithWhereWithoutInstallmentInput

Name Type Nullable
where InstallmentPaymentScalarWhereInput No
data InstallmentPaymentUpdateManyMutationInput | InstallmentPaymentUncheckedUpdateManyWithoutInstallmentInput No

InstallmentCreateWithoutPaymentsInput

Name Type Nullable
id String No
totalAmount Decimal No
initialPayment Decimal No
paidAmount Decimal No
remaining Decimal No
totalMonths Int No
monthsLeft Int No
monthlyPayment Decimal No
dueDate DateTime No
status InstallmentStatus No
createdAt DateTime No
updatedAt DateTime No
sale SaleCreateNestedOneWithoutInstallmentsInput No
customer OrganizationCustomerCreateNestedOneWithoutInstallmentsInput No

InstallmentUncheckedCreateWithoutPaymentsInput

Name Type Nullable
id String No
saleId String No
customerId String No
totalAmount Decimal No
initialPayment Decimal No
paidAmount Decimal No
remaining Decimal No
totalMonths Int No
monthsLeft Int No
monthlyPayment Decimal No
dueDate DateTime No
status InstallmentStatus No
createdAt DateTime No
updatedAt DateTime No

InstallmentCreateOrConnectWithoutPaymentsInput

Name Type Nullable
where InstallmentWhereUniqueInput No
create InstallmentCreateWithoutPaymentsInput | InstallmentUncheckedCreateWithoutPaymentsInput No

UserCreateWithoutInstallment_paymentsInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
profile UserProfileCreateNestedOneWithoutUserInput No
role RoleCreateNestedOneWithoutUsersInput No
org_links OrganizationUserCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerCreateNestedManyWithoutUserInput No
payments PaymentCreateNestedManyWithoutUserInput No
sales SaleCreateNestedManyWithoutResponsibleInput No
purchases PurchaseCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneCreateNestedManyWithoutUserInput No
audit_logs AuditLogCreateNestedManyWithoutUserInput No
documents DocumentCreateNestedManyWithoutUploadedByInput No

UserUncheckedCreateWithoutInstallment_paymentsInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
roleId String | Null Yes
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
org_links OrganizationUserUncheckedCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput No
payments PaymentUncheckedCreateNestedManyWithoutUserInput No
sales SaleUncheckedCreateNestedManyWithoutResponsibleInput No
purchases PurchaseUncheckedCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneUncheckedCreateNestedManyWithoutUserInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutUserInput No
documents DocumentUncheckedCreateNestedManyWithoutUploadedByInput No

UserCreateOrConnectWithoutInstallment_paymentsInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutInstallment_paymentsInput | UserUncheckedCreateWithoutInstallment_paymentsInput No

PaymentCreateWithoutInstallment_paymentsInput

Name Type Nullable
id String No
amount Decimal No
type PaymentType No
description String | Null Yes
createdAt DateTime No
organization OrganizationCreateNestedOneWithoutPaymentsInput No
user UserCreateNestedOneWithoutPaymentsInput No
customer OrganizationCustomerCreateNestedOneWithoutPaymentsInput No
kassa KassaCreateNestedOneWithoutPaymentsInput No
currency CurrencyCreateNestedOneWithoutPaymentsInput No
purchase PurchaseCreateNestedOneWithoutPaymentsInput No
sale SaleCreateNestedOneWithoutPaymentsInput No

PaymentUncheckedCreateWithoutInstallment_paymentsInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
customerId String | Null Yes
kassaId String No
amount Decimal No
currencyId String No
type PaymentType No
description String | Null Yes
purchaseId String | Null Yes
saleId String | Null Yes
createdAt DateTime No

PaymentCreateOrConnectWithoutInstallment_paymentsInput

Name Type Nullable
where PaymentWhereUniqueInput No
create PaymentCreateWithoutInstallment_paymentsInput | PaymentUncheckedCreateWithoutInstallment_paymentsInput No


InstallmentUpdateToOneWithWhereWithoutPaymentsInput

Name Type Nullable
where InstallmentWhereInput No
data InstallmentUpdateWithoutPaymentsInput | InstallmentUncheckedUpdateWithoutPaymentsInput No

InstallmentUpdateWithoutPaymentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
initialPayment Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
remaining Decimal | DecimalFieldUpdateOperationsInput No
totalMonths Int | IntFieldUpdateOperationsInput No
monthsLeft Int | IntFieldUpdateOperationsInput No
monthlyPayment Decimal | DecimalFieldUpdateOperationsInput No
dueDate DateTime | DateTimeFieldUpdateOperationsInput No
status InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
sale SaleUpdateOneRequiredWithoutInstallmentsNestedInput No
customer OrganizationCustomerUpdateOneRequiredWithoutInstallmentsNestedInput No

InstallmentUncheckedUpdateWithoutPaymentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
saleId String | StringFieldUpdateOperationsInput No
customerId String | StringFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
initialPayment Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
remaining Decimal | DecimalFieldUpdateOperationsInput No
totalMonths Int | IntFieldUpdateOperationsInput No
monthsLeft Int | IntFieldUpdateOperationsInput No
monthlyPayment Decimal | DecimalFieldUpdateOperationsInput No
dueDate DateTime | DateTimeFieldUpdateOperationsInput No
status InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


UserUpdateToOneWithWhereWithoutInstallment_paymentsInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutInstallment_paymentsInput | UserUncheckedUpdateWithoutInstallment_paymentsInput No

UserUpdateWithoutInstallment_paymentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
profile UserProfileUpdateOneWithoutUserNestedInput No
role RoleUpdateOneWithoutUsersNestedInput No
org_links OrganizationUserUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUpdateManyWithoutUserNestedInput No
payments PaymentUpdateManyWithoutUserNestedInput No
sales SaleUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUpdateManyWithoutUserNestedInput No
documents DocumentUpdateManyWithoutUploadedByNestedInput No

UserUncheckedUpdateWithoutInstallment_paymentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
roleId String | NullableStringFieldUpdateOperationsInput | Null Yes
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
org_links OrganizationUserUncheckedUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUncheckedUpdateManyWithoutUserNestedInput No
payments PaymentUncheckedUpdateManyWithoutUserNestedInput No
sales SaleUncheckedUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUncheckedUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutUserNestedInput No
documents DocumentUncheckedUpdateManyWithoutUploadedByNestedInput No


PaymentUpdateToOneWithWhereWithoutInstallment_paymentsInput

Name Type Nullable
where PaymentWhereInput No
data PaymentUpdateWithoutInstallment_paymentsInput | PaymentUncheckedUpdateWithoutInstallment_paymentsInput No


PaymentUncheckedUpdateWithoutInstallment_paymentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

UserCreateWithoutDocumentsInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
profile UserProfileCreateNestedOneWithoutUserInput No
role RoleCreateNestedOneWithoutUsersInput No
org_links OrganizationUserCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerCreateNestedManyWithoutUserInput No
payments PaymentCreateNestedManyWithoutUserInput No
sales SaleCreateNestedManyWithoutResponsibleInput No
purchases PurchaseCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneCreateNestedManyWithoutUserInput No
audit_logs AuditLogCreateNestedManyWithoutUserInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutCreated_byInput No

UserUncheckedCreateWithoutDocumentsInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
roleId String | Null Yes
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
org_links OrganizationUserUncheckedCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput No
payments PaymentUncheckedCreateNestedManyWithoutUserInput No
sales SaleUncheckedCreateNestedManyWithoutResponsibleInput No
purchases PurchaseUncheckedCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneUncheckedCreateNestedManyWithoutUserInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutUserInput No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput No

UserCreateOrConnectWithoutDocumentsInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutDocumentsInput | UserUncheckedCreateWithoutDocumentsInput No

OrganizationCreateWithoutDocumentsInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerCreateNestedManyWithoutOrganizationInput No
products ProductCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceCreateNestedManyWithoutOrganizationInput No
kassas KassaCreateNestedManyWithoutOrganizationInput No
payments PaymentCreateNestedManyWithoutOrganizationInput No
transactions TransactionCreateNestedManyWithoutOrganizationInput No
sales SaleCreateNestedManyWithoutOrganizationInput No
purchases PurchaseCreateNestedManyWithoutOrganizationInput No
stocks StockCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferCreateNestedManyWithoutOrganizationInput No
settings SettingsCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogCreateNestedManyWithoutOrganizationInput No

OrganizationUncheckedCreateWithoutDocumentsInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserUncheckedCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerUncheckedCreateNestedManyWithoutOrganizationInput No
products ProductUncheckedCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceUncheckedCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutOrganizationInput No
kassas KassaUncheckedCreateNestedManyWithoutOrganizationInput No
payments PaymentUncheckedCreateNestedManyWithoutOrganizationInput No
transactions TransactionUncheckedCreateNestedManyWithoutOrganizationInput No
sales SaleUncheckedCreateNestedManyWithoutOrganizationInput No
purchases PurchaseUncheckedCreateNestedManyWithoutOrganizationInput No
stocks StockUncheckedCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferUncheckedCreateNestedManyWithoutOrganizationInput No
settings SettingsUncheckedCreateNestedOneWithoutOrganizationInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutOrganizationInput No

OrganizationCreateOrConnectWithoutDocumentsInput

Name Type Nullable
where OrganizationWhereUniqueInput No
create OrganizationCreateWithoutDocumentsInput | OrganizationUncheckedCreateWithoutDocumentsInput No

OrganizationCustomerCreateWithoutDocumentsInput

Name Type Nullable
id String No
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutCustomersInput No
user UserCreateNestedOneWithoutCutomer_linksInput No
product_instances ProductInstanceCreateNestedManyWithoutCurrent_ownerInput No
payments PaymentCreateNestedManyWithoutCustomerInput No
transactions TransactionCreateNestedManyWithoutCustomerInput No
sales SaleCreateNestedManyWithoutCustomerInput No
purchases PurchaseCreateNestedManyWithoutSupplierInput No
installments InstallmentCreateNestedManyWithoutCustomerInput No

OrganizationCustomerUncheckedCreateWithoutDocumentsInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput No
payments PaymentUncheckedCreateNestedManyWithoutCustomerInput No
transactions TransactionUncheckedCreateNestedManyWithoutCustomerInput No
sales SaleUncheckedCreateNestedManyWithoutCustomerInput No
purchases PurchaseUncheckedCreateNestedManyWithoutSupplierInput No
installments InstallmentUncheckedCreateNestedManyWithoutCustomerInput No

OrganizationCustomerCreateOrConnectWithoutDocumentsInput

Name Type Nullable
where OrganizationCustomerWhereUniqueInput No
create OrganizationCustomerCreateWithoutDocumentsInput | OrganizationCustomerUncheckedCreateWithoutDocumentsInput No

SaleCreateWithoutDocumentsInput

Name Type Nullable
id String No
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
organization OrganizationCreateNestedOneWithoutSalesInput No
customer OrganizationCustomerCreateNestedOneWithoutSalesInput No
responsible UserCreateNestedOneWithoutSalesInput No
currency CurrencyCreateNestedOneWithoutSalesInput No
kassa KassaCreateNestedOneWithoutSalesInput No
items SaleItemCreateNestedManyWithoutSaleInput No
payments PaymentCreateNestedManyWithoutSaleInput No
installments InstallmentCreateNestedManyWithoutSaleInput No

SaleUncheckedCreateWithoutDocumentsInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
responsibleId String No
kassaId String | Null Yes
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No
items SaleItemUncheckedCreateNestedManyWithoutSaleInput No
payments PaymentUncheckedCreateNestedManyWithoutSaleInput No
installments InstallmentUncheckedCreateNestedManyWithoutSaleInput No

SaleCreateOrConnectWithoutDocumentsInput

Name Type Nullable
where SaleWhereUniqueInput No
create SaleCreateWithoutDocumentsInput | SaleUncheckedCreateWithoutDocumentsInput No


UserUpdateToOneWithWhereWithoutDocumentsInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutDocumentsInput | UserUncheckedUpdateWithoutDocumentsInput No

UserUpdateWithoutDocumentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
profile UserProfileUpdateOneWithoutUserNestedInput No
role RoleUpdateOneWithoutUsersNestedInput No
org_links OrganizationUserUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUpdateManyWithoutUserNestedInput No
payments PaymentUpdateManyWithoutUserNestedInput No
sales SaleUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUpdateManyWithoutUserNestedInput No
installment_payments InstallmentPaymentUpdateManyWithoutCreated_byNestedInput No

UserUncheckedUpdateWithoutDocumentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
roleId String | NullableStringFieldUpdateOperationsInput | Null Yes
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
org_links OrganizationUserUncheckedUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUncheckedUpdateManyWithoutUserNestedInput No
payments PaymentUncheckedUpdateManyWithoutUserNestedInput No
sales SaleUncheckedUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUncheckedUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutUserNestedInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutCreated_byNestedInput No


OrganizationUpdateToOneWithWhereWithoutDocumentsInput

Name Type Nullable
where OrganizationWhereInput No
data OrganizationUpdateWithoutDocumentsInput | OrganizationUncheckedUpdateWithoutDocumentsInput No

OrganizationUpdateWithoutDocumentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUpdateManyWithoutOrganizationNestedInput No
products ProductUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUpdateManyWithoutOrganizationNestedInput No
kassas KassaUpdateManyWithoutOrganizationNestedInput No
payments PaymentUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUpdateManyWithoutOrganizationNestedInput No
sales SaleUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUpdateManyWithoutOrganizationNestedInput No
stocks StockUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUpdateManyWithoutOrganizationNestedInput No
settings SettingsUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUpdateManyWithoutOrganizationNestedInput No

OrganizationUncheckedUpdateWithoutDocumentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUncheckedUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUncheckedUpdateManyWithoutOrganizationNestedInput No
products ProductUncheckedUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUncheckedUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutOrganizationNestedInput No
kassas KassaUncheckedUpdateManyWithoutOrganizationNestedInput No
payments PaymentUncheckedUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUncheckedUpdateManyWithoutOrganizationNestedInput No
sales SaleUncheckedUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutOrganizationNestedInput No
stocks StockUncheckedUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUncheckedUpdateManyWithoutOrganizationNestedInput No
settings SettingsUncheckedUpdateOneWithoutOrganizationNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput No


OrganizationCustomerUpdateToOneWithWhereWithoutDocumentsInput

Name Type Nullable
where OrganizationCustomerWhereInput No
data OrganizationCustomerUpdateWithoutDocumentsInput | OrganizationCustomerUncheckedUpdateWithoutDocumentsInput No

OrganizationCustomerUpdateWithoutDocumentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutCustomersNestedInput No
user UserUpdateOneWithoutCutomer_linksNestedInput No
product_instances ProductInstanceUpdateManyWithoutCurrent_ownerNestedInput No
payments PaymentUpdateManyWithoutCustomerNestedInput No
transactions TransactionUpdateManyWithoutCustomerNestedInput No
sales SaleUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUpdateManyWithoutSupplierNestedInput No
installments InstallmentUpdateManyWithoutCustomerNestedInput No

OrganizationCustomerUncheckedUpdateWithoutDocumentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutCurrent_ownerNestedInput No
payments PaymentUncheckedUpdateManyWithoutCustomerNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCustomerNestedInput No
sales SaleUncheckedUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutSupplierNestedInput No
installments InstallmentUncheckedUpdateManyWithoutCustomerNestedInput No


SaleUpdateToOneWithWhereWithoutDocumentsInput

Name Type Nullable
where SaleWhereInput No
data SaleUpdateWithoutDocumentsInput | SaleUncheckedUpdateWithoutDocumentsInput No

SaleUpdateWithoutDocumentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutSalesNestedInput No
customer OrganizationCustomerUpdateOneWithoutSalesNestedInput No
responsible UserUpdateOneRequiredWithoutSalesNestedInput No
currency CurrencyUpdateOneRequiredWithoutSalesNestedInput No
kassa KassaUpdateOneWithoutSalesNestedInput No
items SaleItemUpdateManyWithoutSaleNestedInput No
payments PaymentUpdateManyWithoutSaleNestedInput No
installments InstallmentUpdateManyWithoutSaleNestedInput No

SaleUncheckedUpdateWithoutDocumentsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
responsibleId String | StringFieldUpdateOperationsInput No
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
items SaleItemUncheckedUpdateManyWithoutSaleNestedInput No
payments PaymentUncheckedUpdateManyWithoutSaleNestedInput No
installments InstallmentUncheckedUpdateManyWithoutSaleNestedInput No

OrganizationCreateWithoutSettingsInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerCreateNestedManyWithoutOrganizationInput No
products ProductCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceCreateNestedManyWithoutOrganizationInput No
kassas KassaCreateNestedManyWithoutOrganizationInput No
payments PaymentCreateNestedManyWithoutOrganizationInput No
transactions TransactionCreateNestedManyWithoutOrganizationInput No
sales SaleCreateNestedManyWithoutOrganizationInput No
purchases PurchaseCreateNestedManyWithoutOrganizationInput No
stocks StockCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferCreateNestedManyWithoutOrganizationInput No
audit_logs AuditLogCreateNestedManyWithoutOrganizationInput No
documents DocumentCreateNestedManyWithoutOrganizationInput No

OrganizationUncheckedCreateWithoutSettingsInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserUncheckedCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerUncheckedCreateNestedManyWithoutOrganizationInput No
products ProductUncheckedCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceUncheckedCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutOrganizationInput No
kassas KassaUncheckedCreateNestedManyWithoutOrganizationInput No
payments PaymentUncheckedCreateNestedManyWithoutOrganizationInput No
transactions TransactionUncheckedCreateNestedManyWithoutOrganizationInput No
sales SaleUncheckedCreateNestedManyWithoutOrganizationInput No
purchases PurchaseUncheckedCreateNestedManyWithoutOrganizationInput No
stocks StockUncheckedCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferUncheckedCreateNestedManyWithoutOrganizationInput No
audit_logs AuditLogUncheckedCreateNestedManyWithoutOrganizationInput No
documents DocumentUncheckedCreateNestedManyWithoutOrganizationInput No

OrganizationCreateOrConnectWithoutSettingsInput

Name Type Nullable
where OrganizationWhereUniqueInput No
create OrganizationCreateWithoutSettingsInput | OrganizationUncheckedCreateWithoutSettingsInput No

CurrencyCreateWithoutSettingsInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceCreateNestedManyWithoutCurrencyInput No
kassas KassaCreateNestedManyWithoutCurrencyInput No
payments PaymentCreateNestedManyWithoutCurrencyInput No
transactions TransactionCreateNestedManyWithoutCurrencyInput No
sales SaleCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemCreateNestedManyWithoutCurrencyInput No
purchases PurchaseCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferCreateNestedManyWithoutTo_currencyInput No
product_variant ProductVariantCreateNestedManyWithoutCurrencyInput No

CurrencyUncheckedCreateWithoutSettingsInput

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No
product_prices ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput No
kassas KassaUncheckedCreateNestedManyWithoutCurrencyInput No
payments PaymentUncheckedCreateNestedManyWithoutCurrencyInput No
transactions TransactionUncheckedCreateNestedManyWithoutCurrencyInput No
sales SaleUncheckedCreateNestedManyWithoutCurrencyInput No
sale_items SaleItemUncheckedCreateNestedManyWithoutCurrencyInput No
purchases PurchaseUncheckedCreateNestedManyWithoutCurrencyInput No
from_transfers KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput No
to_transfers KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput No
product_variant ProductVariantUncheckedCreateNestedManyWithoutCurrencyInput No

CurrencyCreateOrConnectWithoutSettingsInput

Name Type Nullable
where CurrencyWhereUniqueInput No
create CurrencyCreateWithoutSettingsInput | CurrencyUncheckedCreateWithoutSettingsInput No


OrganizationUpdateToOneWithWhereWithoutSettingsInput

Name Type Nullable
where OrganizationWhereInput No
data OrganizationUpdateWithoutSettingsInput | OrganizationUncheckedUpdateWithoutSettingsInput No

OrganizationUpdateWithoutSettingsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUpdateManyWithoutOrganizationNestedInput No
products ProductUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUpdateManyWithoutOrganizationNestedInput No
kassas KassaUpdateManyWithoutOrganizationNestedInput No
payments PaymentUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUpdateManyWithoutOrganizationNestedInput No
sales SaleUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUpdateManyWithoutOrganizationNestedInput No
stocks StockUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUpdateManyWithoutOrganizationNestedInput No
audit_logs AuditLogUpdateManyWithoutOrganizationNestedInput No
documents DocumentUpdateManyWithoutOrganizationNestedInput No

OrganizationUncheckedUpdateWithoutSettingsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUncheckedUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUncheckedUpdateManyWithoutOrganizationNestedInput No
products ProductUncheckedUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUncheckedUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutOrganizationNestedInput No
kassas KassaUncheckedUpdateManyWithoutOrganizationNestedInput No
payments PaymentUncheckedUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUncheckedUpdateManyWithoutOrganizationNestedInput No
sales SaleUncheckedUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutOrganizationNestedInput No
stocks StockUncheckedUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUncheckedUpdateManyWithoutOrganizationNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput No
documents DocumentUncheckedUpdateManyWithoutOrganizationNestedInput No


CurrencyUpdateToOneWithWhereWithoutSettingsInput

Name Type Nullable
where CurrencyWhereInput No
data CurrencyUpdateWithoutSettingsInput | CurrencyUncheckedUpdateWithoutSettingsInput No

CurrencyUpdateWithoutSettingsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUpdateManyWithoutCurrencyNestedInput No
kassas KassaUpdateManyWithoutCurrencyNestedInput No
payments PaymentUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUpdateManyWithoutCurrencyNestedInput No
sales SaleUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUpdateManyWithoutTo_currencyNestedInput No
product_variant ProductVariantUpdateManyWithoutCurrencyNestedInput No

CurrencyUncheckedUpdateWithoutSettingsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
symbol String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_prices ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput No
kassas KassaUncheckedUpdateManyWithoutCurrencyNestedInput No
payments PaymentUncheckedUpdateManyWithoutCurrencyNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCurrencyNestedInput No
sales SaleUncheckedUpdateManyWithoutCurrencyNestedInput No
sale_items SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput No
from_transfers KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput No
to_transfers KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput No
product_variant ProductVariantUncheckedUpdateManyWithoutCurrencyNestedInput No

OrganizationCreateWithoutAudit_logsInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerCreateNestedManyWithoutOrganizationInput No
products ProductCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceCreateNestedManyWithoutOrganizationInput No
kassas KassaCreateNestedManyWithoutOrganizationInput No
payments PaymentCreateNestedManyWithoutOrganizationInput No
transactions TransactionCreateNestedManyWithoutOrganizationInput No
sales SaleCreateNestedManyWithoutOrganizationInput No
purchases PurchaseCreateNestedManyWithoutOrganizationInput No
stocks StockCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferCreateNestedManyWithoutOrganizationInput No
settings SettingsCreateNestedOneWithoutOrganizationInput No
documents DocumentCreateNestedManyWithoutOrganizationInput No

OrganizationUncheckedCreateWithoutAudit_logsInput

Name Type Nullable
id String No
name String No
address String | Null Yes
phone String | Null Yes
email String | Null Yes
createdAt DateTime No
updatedAt DateTime No
org_users OrganizationUserUncheckedCreateNestedManyWithoutOrganizationInput No
customers OrganizationCustomerUncheckedCreateNestedManyWithoutOrganizationInput No
products ProductUncheckedCreateNestedManyWithoutOrganizationInput No
product_prices ProductPriceUncheckedCreateNestedManyWithoutOrganizationInput No
product_instances ProductInstanceUncheckedCreateNestedManyWithoutOrganizationInput No
kassas KassaUncheckedCreateNestedManyWithoutOrganizationInput No
payments PaymentUncheckedCreateNestedManyWithoutOrganizationInput No
transactions TransactionUncheckedCreateNestedManyWithoutOrganizationInput No
sales SaleUncheckedCreateNestedManyWithoutOrganizationInput No
purchases PurchaseUncheckedCreateNestedManyWithoutOrganizationInput No
stocks StockUncheckedCreateNestedManyWithoutOrganizationInput No
kassa_transfers KassaTransferUncheckedCreateNestedManyWithoutOrganizationInput No
settings SettingsUncheckedCreateNestedOneWithoutOrganizationInput No
documents DocumentUncheckedCreateNestedManyWithoutOrganizationInput No

OrganizationCreateOrConnectWithoutAudit_logsInput

Name Type Nullable
where OrganizationWhereUniqueInput No
create OrganizationCreateWithoutAudit_logsInput | OrganizationUncheckedCreateWithoutAudit_logsInput No

UserCreateWithoutAudit_logsInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
profile UserProfileCreateNestedOneWithoutUserInput No
role RoleCreateNestedOneWithoutUsersInput No
org_links OrganizationUserCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerCreateNestedManyWithoutUserInput No
payments PaymentCreateNestedManyWithoutUserInput No
sales SaleCreateNestedManyWithoutResponsibleInput No
purchases PurchaseCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneCreateNestedManyWithoutUserInput No
documents DocumentCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentCreateNestedManyWithoutCreated_byInput No

UserUncheckedCreateWithoutAudit_logsInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
roleId String | Null Yes
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
org_links OrganizationUserUncheckedCreateNestedManyWithoutUserInput No
cutomer_links OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput No
payments PaymentUncheckedCreateNestedManyWithoutUserInput No
sales SaleUncheckedCreateNestedManyWithoutResponsibleInput No
purchases PurchaseUncheckedCreateNestedManyWithoutResponsibleInput No
phone_numbers UserPhoneUncheckedCreateNestedManyWithoutUserInput No
documents DocumentUncheckedCreateNestedManyWithoutUploadedByInput No
installment_payments InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput No

UserCreateOrConnectWithoutAudit_logsInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutAudit_logsInput | UserUncheckedCreateWithoutAudit_logsInput No


OrganizationUpdateToOneWithWhereWithoutAudit_logsInput

Name Type Nullable
where OrganizationWhereInput No
data OrganizationUpdateWithoutAudit_logsInput | OrganizationUncheckedUpdateWithoutAudit_logsInput No

OrganizationUpdateWithoutAudit_logsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUpdateManyWithoutOrganizationNestedInput No
products ProductUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUpdateManyWithoutOrganizationNestedInput No
kassas KassaUpdateManyWithoutOrganizationNestedInput No
payments PaymentUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUpdateManyWithoutOrganizationNestedInput No
sales SaleUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUpdateManyWithoutOrganizationNestedInput No
stocks StockUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUpdateManyWithoutOrganizationNestedInput No
settings SettingsUpdateOneWithoutOrganizationNestedInput No
documents DocumentUpdateManyWithoutOrganizationNestedInput No

OrganizationUncheckedUpdateWithoutAudit_logsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
address String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
email String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
org_users OrganizationUserUncheckedUpdateManyWithoutOrganizationNestedInput No
customers OrganizationCustomerUncheckedUpdateManyWithoutOrganizationNestedInput No
products ProductUncheckedUpdateManyWithoutOrganizationNestedInput No
product_prices ProductPriceUncheckedUpdateManyWithoutOrganizationNestedInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutOrganizationNestedInput No
kassas KassaUncheckedUpdateManyWithoutOrganizationNestedInput No
payments PaymentUncheckedUpdateManyWithoutOrganizationNestedInput No
transactions TransactionUncheckedUpdateManyWithoutOrganizationNestedInput No
sales SaleUncheckedUpdateManyWithoutOrganizationNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutOrganizationNestedInput No
stocks StockUncheckedUpdateManyWithoutOrganizationNestedInput No
kassa_transfers KassaTransferUncheckedUpdateManyWithoutOrganizationNestedInput No
settings SettingsUncheckedUpdateOneWithoutOrganizationNestedInput No
documents DocumentUncheckedUpdateManyWithoutOrganizationNestedInput No


UserUpdateToOneWithWhereWithoutAudit_logsInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutAudit_logsInput | UserUncheckedUpdateWithoutAudit_logsInput No

UserUpdateWithoutAudit_logsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
profile UserProfileUpdateOneWithoutUserNestedInput No
role RoleUpdateOneWithoutUsersNestedInput No
org_links OrganizationUserUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUpdateManyWithoutUserNestedInput No
payments PaymentUpdateManyWithoutUserNestedInput No
sales SaleUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUpdateManyWithoutUserNestedInput No
documents DocumentUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUpdateManyWithoutCreated_byNestedInput No

UserUncheckedUpdateWithoutAudit_logsInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
roleId String | NullableStringFieldUpdateOperationsInput | Null Yes
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
org_links OrganizationUserUncheckedUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUncheckedUpdateManyWithoutUserNestedInput No
payments PaymentUncheckedUpdateManyWithoutUserNestedInput No
sales SaleUncheckedUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUncheckedUpdateManyWithoutUserNestedInput No
documents DocumentUncheckedUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutCreated_byNestedInput No

ProductPriceCreateManyCurrencyInput

Name Type Nullable
id String No
productId String No
organizationId String | Null Yes
priceType PriceType No
amount Decimal No
customerType CustomerType | Null Yes
createdAt DateTime No
updatedAt DateTime No

KassaCreateManyCurrencyInput

Name Type Nullable
id String No
organizationId String No
name String No
type String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No

PaymentCreateManyCurrencyInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
customerId String | Null Yes
kassaId String No
amount Decimal No
type PaymentType No
description String | Null Yes
purchaseId String | Null Yes
saleId String | Null Yes
createdAt DateTime No

TransactionCreateManyCurrencyInput

Name Type Nullable
id String No
organizationId String No
customerId String No
relatedType RelatedType No
relatedId String No
date DateTime No
debit Decimal No
credit Decimal No
balanceAfter Decimal No
description String | Null Yes

SaleCreateManyCurrencyInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
responsibleId String No
kassaId String | Null Yes
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No

SaleItemCreateManyCurrencyInput

Name Type Nullable
id String No
saleId String No
productVariantId String No
quantity Int No
price Decimal No
total Decimal No

PurchaseCreateManyCurrencyInput

Name Type Nullable
id String No
organizationId String No
supplierId String No
responsibleId String | Null Yes
kassaId String | Null Yes
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No

KassaTransferCreateManyFrom_currencyInput

Name Type Nullable
id String No
organizationId String No
fromKassaId String No
toKassaId String No
toCurrencyId String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No

KassaTransferCreateManyTo_currencyInput

Name Type Nullable
id String No
organizationId String No
fromKassaId String No
toKassaId String No
fromCurrencyId String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No

SettingsCreateManyBaseCurrencyInput

Name Type Nullable
id String No
organizationId String No
language String | Null Yes
dateFormat String | Null Yes
enableInstallment Boolean No
enableNotifications Boolean No
enableAutoRateUpdate Boolean No
taxPercent Decimal | Null Yes
logoUrl String | Null Yes
theme ThemeType No
createdAt DateTime No
updatedAt DateTime No

ProductVariantCreateManyCurrencyInput

Name Type Nullable
id String No
productId String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
createdAt DateTime No
updatedAt DateTime No


ProductPriceUncheckedUpdateWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | StringFieldUpdateOperationsInput No
organizationId String | NullableStringFieldUpdateOperationsInput | Null Yes
priceType PriceType | EnumPriceTypeFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
customerType CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductPriceUncheckedUpdateManyWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | StringFieldUpdateOperationsInput No
organizationId String | NullableStringFieldUpdateOperationsInput | Null Yes
priceType PriceType | EnumPriceTypeFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
customerType CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No



KassaUncheckedUpdateManyWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
type String | StringFieldUpdateOperationsInput No
balance Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


PaymentUncheckedUpdateWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutPaymentNestedInput No

PaymentUncheckedUpdateManyWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No


TransactionUncheckedUpdateWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | StringFieldUpdateOperationsInput No
relatedType RelatedType | EnumRelatedTypeFieldUpdateOperationsInput No
relatedId String | StringFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No
debit Decimal | DecimalFieldUpdateOperationsInput No
credit Decimal | DecimalFieldUpdateOperationsInput No
balanceAfter Decimal | DecimalFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

TransactionUncheckedUpdateManyWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | StringFieldUpdateOperationsInput No
relatedType RelatedType | EnumRelatedTypeFieldUpdateOperationsInput No
relatedId String | StringFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No
debit Decimal | DecimalFieldUpdateOperationsInput No
credit Decimal | DecimalFieldUpdateOperationsInput No
balanceAfter Decimal | DecimalFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

SaleUpdateWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutSalesNestedInput No
customer OrganizationCustomerUpdateOneWithoutSalesNestedInput No
responsible UserUpdateOneRequiredWithoutSalesNestedInput No
kassa KassaUpdateOneWithoutSalesNestedInput No
items SaleItemUpdateManyWithoutSaleNestedInput No
payments PaymentUpdateManyWithoutSaleNestedInput No
installments InstallmentUpdateManyWithoutSaleNestedInput No
documents DocumentUpdateManyWithoutSaleNestedInput No

SaleUncheckedUpdateWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
responsibleId String | StringFieldUpdateOperationsInput No
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
items SaleItemUncheckedUpdateManyWithoutSaleNestedInput No
payments PaymentUncheckedUpdateManyWithoutSaleNestedInput No
installments InstallmentUncheckedUpdateManyWithoutSaleNestedInput No
documents DocumentUncheckedUpdateManyWithoutSaleNestedInput No

SaleUncheckedUpdateManyWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
responsibleId String | StringFieldUpdateOperationsInput No
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


SaleItemUncheckedUpdateWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
saleId String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No

SaleItemUncheckedUpdateManyWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
saleId String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No

PurchaseUpdateWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutPurchasesNestedInput No
supplier OrganizationCustomerUpdateOneRequiredWithoutPurchasesNestedInput No
responsible UserUpdateOneWithoutPurchasesNestedInput No
kassa KassaUpdateOneWithoutPurchasesNestedInput No
items PurchaseItemUpdateManyWithoutPurchaseNestedInput No
payments PaymentUpdateManyWithoutPurchaseNestedInput No

PurchaseUncheckedUpdateWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
supplierId String | StringFieldUpdateOperationsInput No
responsibleId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
items PurchaseItemUncheckedUpdateManyWithoutPurchaseNestedInput No
payments PaymentUncheckedUpdateManyWithoutPurchaseNestedInput No

PurchaseUncheckedUpdateManyWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
supplierId String | StringFieldUpdateOperationsInput No
responsibleId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


KassaTransferUncheckedUpdateWithoutFrom_currencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
fromKassaId String | StringFieldUpdateOperationsInput No
toKassaId String | StringFieldUpdateOperationsInput No
toCurrencyId String | StringFieldUpdateOperationsInput No
rate Decimal | DecimalFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
convertedAmount Decimal | DecimalFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

KassaTransferUncheckedUpdateManyWithoutFrom_currencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
fromKassaId String | StringFieldUpdateOperationsInput No
toKassaId String | StringFieldUpdateOperationsInput No
toCurrencyId String | StringFieldUpdateOperationsInput No
rate Decimal | DecimalFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
convertedAmount Decimal | DecimalFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No


KassaTransferUncheckedUpdateWithoutTo_currencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
fromKassaId String | StringFieldUpdateOperationsInput No
toKassaId String | StringFieldUpdateOperationsInput No
fromCurrencyId String | StringFieldUpdateOperationsInput No
rate Decimal | DecimalFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
convertedAmount Decimal | DecimalFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

KassaTransferUncheckedUpdateManyWithoutTo_currencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
fromKassaId String | StringFieldUpdateOperationsInput No
toKassaId String | StringFieldUpdateOperationsInput No
fromCurrencyId String | StringFieldUpdateOperationsInput No
rate Decimal | DecimalFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
convertedAmount Decimal | DecimalFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

SettingsUpdateWithoutBaseCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
language String | NullableStringFieldUpdateOperationsInput | Null Yes
dateFormat String | NullableStringFieldUpdateOperationsInput | Null Yes
enableInstallment Boolean | BoolFieldUpdateOperationsInput No
enableNotifications Boolean | BoolFieldUpdateOperationsInput No
enableAutoRateUpdate Boolean | BoolFieldUpdateOperationsInput No
taxPercent Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
logoUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
theme ThemeType | EnumThemeTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutSettingsNestedInput No

SettingsUncheckedUpdateWithoutBaseCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
language String | NullableStringFieldUpdateOperationsInput | Null Yes
dateFormat String | NullableStringFieldUpdateOperationsInput | Null Yes
enableInstallment Boolean | BoolFieldUpdateOperationsInput No
enableNotifications Boolean | BoolFieldUpdateOperationsInput No
enableAutoRateUpdate Boolean | BoolFieldUpdateOperationsInput No
taxPercent Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
logoUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
theme ThemeType | EnumThemeTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

SettingsUncheckedUpdateManyWithoutBaseCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
language String | NullableStringFieldUpdateOperationsInput | Null Yes
dateFormat String | NullableStringFieldUpdateOperationsInput | Null Yes
enableInstallment Boolean | BoolFieldUpdateOperationsInput No
enableNotifications Boolean | BoolFieldUpdateOperationsInput No
enableAutoRateUpdate Boolean | BoolFieldUpdateOperationsInput No
taxPercent Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
logoUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
theme ThemeType | EnumThemeTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductVariantUpdateWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product ProductUpdateOneRequiredWithoutVariantsNestedInput No
product_instance ProductInstanceUpdateManyWithoutProductVariantNestedInput No
product_variant_attribute ProductVariantAttributeUpdateManyWithoutVariantNestedInput No
product_batches ProductBatchUpdateManyWithoutProduct_variantNestedInput No
stocks StockUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUpdateManyWithoutProductVariantNestedInput No

ProductVariantUncheckedUpdateWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instance ProductInstanceUncheckedUpdateManyWithoutProductVariantNestedInput No
product_variant_attribute ProductVariantAttributeUncheckedUpdateManyWithoutVariantNestedInput No
product_batches ProductBatchUncheckedUpdateManyWithoutProduct_variantNestedInput No
stocks StockUncheckedUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUncheckedUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUncheckedUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUncheckedUpdateManyWithoutProductVariantNestedInput No

ProductVariantUncheckedUpdateManyWithoutCurrencyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

OrganizationUserCreateManyOrganizationInput

Name Type Nullable
id String No
userId String No
role OrgUserRole No
position String | Null Yes
createdAt DateTime No
updatedAt DateTime No

OrganizationCustomerCreateManyOrganizationInput

Name Type Nullable
id String No
userId String | Null Yes
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No

ProductCreateManyOrganizationInput

Name Type Nullable
id String No
code String No
name String No
description String | Null Yes
brandId String | Null Yes
createdAt DateTime No
updatedAt DateTime No

ProductPriceCreateManyOrganizationInput

Name Type Nullable
id String No
productId String No
priceType PriceType No
amount Decimal No
currencyId String No
customerType CustomerType | Null Yes
createdAt DateTime No
updatedAt DateTime No

ProductInstanceCreateManyOrganizationInput

Name Type Nullable
id String No
productVariantId String | Null Yes
serialNumber String No
currentOwnerId String | Null Yes
currentStatus ProductStatus No
createdAt DateTime No
updatedAt DateTime No

KassaCreateManyOrganizationInput

Name Type Nullable
id String No
name String No
type String No
currencyId String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No

PaymentCreateManyOrganizationInput

Name Type Nullable
id String No
userId String | Null Yes
customerId String | Null Yes
kassaId String No
amount Decimal No
currencyId String No
type PaymentType No
description String | Null Yes
purchaseId String | Null Yes
saleId String | Null Yes
createdAt DateTime No

TransactionCreateManyOrganizationInput

Name Type Nullable
id String No
customerId String No
relatedType RelatedType No
relatedId String No
date DateTime No
debit Decimal No
credit Decimal No
balanceAfter Decimal No
currencyId String No
description String | Null Yes

SaleCreateManyOrganizationInput

Name Type Nullable
id String No
customerId String | Null Yes
responsibleId String No
kassaId String | Null Yes
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No

PurchaseCreateManyOrganizationInput

Name Type Nullable
id String No
supplierId String No
responsibleId String | Null Yes
kassaId String | Null Yes
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No

StockCreateManyOrganizationInput

Name Type Nullable
id String No
productVariantId String No
quantity Int No
updatedAt DateTime No

KassaTransferCreateManyOrganizationInput

Name Type Nullable
id String No
fromKassaId String No
toKassaId String No
fromCurrencyId String No
toCurrencyId String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No

AuditLogCreateManyOrganizationInput

Name Type Nullable
id String No
userId String | Null Yes
action String No
entity String No
entityId String | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | Null Yes
createdAt DateTime No

DocumentCreateManyOrganizationInput

Name Type Nullable
id String No
customerId String | Null Yes
saleId String | Null Yes
type DocumentType No
fileUrl String No
uploadedById String | Null Yes
createdAt DateTime No

OrganizationUserUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
role OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput No
position String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
user UserUpdateOneRequiredWithoutOrg_linksNestedInput No

OrganizationUserUncheckedUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
userId String | StringFieldUpdateOperationsInput No
role OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput No
position String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

OrganizationUserUncheckedUpdateManyWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
userId String | StringFieldUpdateOperationsInput No
role OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput No
position String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

OrganizationCustomerUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
user UserUpdateOneWithoutCutomer_linksNestedInput No
product_instances ProductInstanceUpdateManyWithoutCurrent_ownerNestedInput No
payments PaymentUpdateManyWithoutCustomerNestedInput No
transactions TransactionUpdateManyWithoutCustomerNestedInput No
sales SaleUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUpdateManyWithoutSupplierNestedInput No
installments InstallmentUpdateManyWithoutCustomerNestedInput No
documents DocumentUpdateManyWithoutCustomerNestedInput No

OrganizationCustomerUncheckedUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutCurrent_ownerNestedInput No
payments PaymentUncheckedUpdateManyWithoutCustomerNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCustomerNestedInput No
sales SaleUncheckedUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutSupplierNestedInput No
installments InstallmentUncheckedUpdateManyWithoutCustomerNestedInput No
documents DocumentUncheckedUpdateManyWithoutCustomerNestedInput No

OrganizationCustomerUncheckedUpdateManyWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No



ProductUncheckedUpdateManyWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
brandId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


ProductPriceUncheckedUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | StringFieldUpdateOperationsInput No
priceType PriceType | EnumPriceTypeFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
customerType CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductPriceUncheckedUpdateManyWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | StringFieldUpdateOperationsInput No
priceType PriceType | EnumPriceTypeFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
customerType CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


ProductInstanceUncheckedUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | NullableStringFieldUpdateOperationsInput | Null Yes
serialNumber String | StringFieldUpdateOperationsInput No
currentOwnerId String | NullableStringFieldUpdateOperationsInput | Null Yes
currentStatus ProductStatus | EnumProductStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
transactions ProductTransactionUncheckedUpdateManyWithoutProduct_instanceNestedInput No

ProductInstanceUncheckedUpdateManyWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | NullableStringFieldUpdateOperationsInput | Null Yes
serialNumber String | StringFieldUpdateOperationsInput No
currentOwnerId String | NullableStringFieldUpdateOperationsInput | Null Yes
currentStatus ProductStatus | EnumProductStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No



KassaUncheckedUpdateManyWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
type String | StringFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
balance Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


PaymentUncheckedUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutPaymentNestedInput No

PaymentUncheckedUpdateManyWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No


TransactionUncheckedUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
customerId String | StringFieldUpdateOperationsInput No
relatedType RelatedType | EnumRelatedTypeFieldUpdateOperationsInput No
relatedId String | StringFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No
debit Decimal | DecimalFieldUpdateOperationsInput No
credit Decimal | DecimalFieldUpdateOperationsInput No
balanceAfter Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

TransactionUncheckedUpdateManyWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
customerId String | StringFieldUpdateOperationsInput No
relatedType RelatedType | EnumRelatedTypeFieldUpdateOperationsInput No
relatedId String | StringFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No
debit Decimal | DecimalFieldUpdateOperationsInput No
credit Decimal | DecimalFieldUpdateOperationsInput No
balanceAfter Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

SaleUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
customer OrganizationCustomerUpdateOneWithoutSalesNestedInput No
responsible UserUpdateOneRequiredWithoutSalesNestedInput No
currency CurrencyUpdateOneRequiredWithoutSalesNestedInput No
kassa KassaUpdateOneWithoutSalesNestedInput No
items SaleItemUpdateManyWithoutSaleNestedInput No
payments PaymentUpdateManyWithoutSaleNestedInput No
installments InstallmentUpdateManyWithoutSaleNestedInput No
documents DocumentUpdateManyWithoutSaleNestedInput No

SaleUncheckedUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
responsibleId String | StringFieldUpdateOperationsInput No
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
items SaleItemUncheckedUpdateManyWithoutSaleNestedInput No
payments PaymentUncheckedUpdateManyWithoutSaleNestedInput No
installments InstallmentUncheckedUpdateManyWithoutSaleNestedInput No
documents DocumentUncheckedUpdateManyWithoutSaleNestedInput No

SaleUncheckedUpdateManyWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
responsibleId String | StringFieldUpdateOperationsInput No
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PurchaseUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
supplier OrganizationCustomerUpdateOneRequiredWithoutPurchasesNestedInput No
responsible UserUpdateOneWithoutPurchasesNestedInput No
currency CurrencyUpdateOneRequiredWithoutPurchasesNestedInput No
kassa KassaUpdateOneWithoutPurchasesNestedInput No
items PurchaseItemUpdateManyWithoutPurchaseNestedInput No
payments PaymentUpdateManyWithoutPurchaseNestedInput No

PurchaseUncheckedUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
supplierId String | StringFieldUpdateOperationsInput No
responsibleId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
items PurchaseItemUncheckedUpdateManyWithoutPurchaseNestedInput No
payments PaymentUncheckedUpdateManyWithoutPurchaseNestedInput No

PurchaseUncheckedUpdateManyWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
supplierId String | StringFieldUpdateOperationsInput No
responsibleId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

StockUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_variant ProductVariantUpdateOneRequiredWithoutStocksNestedInput No

StockUncheckedUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

StockUncheckedUpdateManyWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


KassaTransferUncheckedUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
fromKassaId String | StringFieldUpdateOperationsInput No
toKassaId String | StringFieldUpdateOperationsInput No
fromCurrencyId String | StringFieldUpdateOperationsInput No
toCurrencyId String | StringFieldUpdateOperationsInput No
rate Decimal | DecimalFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
convertedAmount Decimal | DecimalFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

KassaTransferUncheckedUpdateManyWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
fromKassaId String | StringFieldUpdateOperationsInput No
toKassaId String | StringFieldUpdateOperationsInput No
fromCurrencyId String | StringFieldUpdateOperationsInput No
toCurrencyId String | StringFieldUpdateOperationsInput No
rate Decimal | DecimalFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
convertedAmount Decimal | DecimalFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

AuditLogUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
action String | StringFieldUpdateOperationsInput No
entity String | StringFieldUpdateOperationsInput No
entityId String | NullableStringFieldUpdateOperationsInput | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
user UserUpdateOneWithoutAudit_logsNestedInput No

AuditLogUncheckedUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
action String | StringFieldUpdateOperationsInput No
entity String | StringFieldUpdateOperationsInput No
entityId String | NullableStringFieldUpdateOperationsInput | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

AuditLogUncheckedUpdateManyWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
action String | StringFieldUpdateOperationsInput No
entity String | StringFieldUpdateOperationsInput No
entityId String | NullableStringFieldUpdateOperationsInput | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No


DocumentUncheckedUpdateWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
type DocumentType | EnumDocumentTypeFieldUpdateOperationsInput No
fileUrl String | StringFieldUpdateOperationsInput No
uploadedById String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

DocumentUncheckedUpdateManyWithoutOrganizationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
type DocumentType | EnumDocumentTypeFieldUpdateOperationsInput No
fileUrl String | StringFieldUpdateOperationsInput No
uploadedById String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

OrganizationUserCreateManyUserInput

Name Type Nullable
id String No
organizationId String No
role OrgUserRole No
position String | Null Yes
createdAt DateTime No
updatedAt DateTime No

OrganizationCustomerCreateManyUserInput

Name Type Nullable
id String No
organizationId String No
firstName String No
lastName String No
patronymic String | Null Yes
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No

PaymentCreateManyUserInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
kassaId String No
amount Decimal No
currencyId String No
type PaymentType No
description String | Null Yes
purchaseId String | Null Yes
saleId String | Null Yes
createdAt DateTime No

SaleCreateManyResponsibleInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
kassaId String | Null Yes
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No

PurchaseCreateManyResponsibleInput

Name Type Nullable
id String No
organizationId String No
supplierId String No
kassaId String | Null Yes
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No

UserPhoneCreateManyUserInput

Name Type Nullable
id String No
phone String No
note String | Null Yes
isPrimary Boolean No
createdAt DateTime No
updatedAt DateTime No

AuditLogCreateManyUserInput

Name Type Nullable
id String No
organizationId String No
action String No
entity String No
entityId String | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | Null Yes
createdAt DateTime No

DocumentCreateManyUploadedByInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
saleId String | Null Yes
type DocumentType No
fileUrl String No
createdAt DateTime No

InstallmentPaymentCreateManyCreated_byInput

Name Type Nullable
id String No
installmentId String No
amount Decimal No
paidAt DateTime No
paymentMethod String | Null Yes
note String | Null Yes
paymentId String | Null Yes

OrganizationUserUpdateWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
role OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput No
position String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutOrg_usersNestedInput No

OrganizationUserUncheckedUpdateWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
role OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput No
position String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

OrganizationUserUncheckedUpdateManyWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
role OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput No
position String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

OrganizationCustomerUpdateWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutCustomersNestedInput No
product_instances ProductInstanceUpdateManyWithoutCurrent_ownerNestedInput No
payments PaymentUpdateManyWithoutCustomerNestedInput No
transactions TransactionUpdateManyWithoutCustomerNestedInput No
sales SaleUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUpdateManyWithoutSupplierNestedInput No
installments InstallmentUpdateManyWithoutCustomerNestedInput No
documents DocumentUpdateManyWithoutCustomerNestedInput No

OrganizationCustomerUncheckedUpdateWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instances ProductInstanceUncheckedUpdateManyWithoutCurrent_ownerNestedInput No
payments PaymentUncheckedUpdateManyWithoutCustomerNestedInput No
transactions TransactionUncheckedUpdateManyWithoutCustomerNestedInput No
sales SaleUncheckedUpdateManyWithoutCustomerNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutSupplierNestedInput No
installments InstallmentUncheckedUpdateManyWithoutCustomerNestedInput No
documents DocumentUncheckedUpdateManyWithoutCustomerNestedInput No

OrganizationCustomerUncheckedUpdateManyWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
firstName String | StringFieldUpdateOperationsInput No
lastName String | StringFieldUpdateOperationsInput No
patronymic String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | StringFieldUpdateOperationsInput No
type CustomerType | EnumCustomerTypeFieldUpdateOperationsInput No
isBlacklisted Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


PaymentUncheckedUpdateWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutPaymentNestedInput No

PaymentUncheckedUpdateManyWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

SaleUpdateWithoutResponsibleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutSalesNestedInput No
customer OrganizationCustomerUpdateOneWithoutSalesNestedInput No
currency CurrencyUpdateOneRequiredWithoutSalesNestedInput No
kassa KassaUpdateOneWithoutSalesNestedInput No
items SaleItemUpdateManyWithoutSaleNestedInput No
payments PaymentUpdateManyWithoutSaleNestedInput No
installments InstallmentUpdateManyWithoutSaleNestedInput No
documents DocumentUpdateManyWithoutSaleNestedInput No

SaleUncheckedUpdateWithoutResponsibleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
items SaleItemUncheckedUpdateManyWithoutSaleNestedInput No
payments PaymentUncheckedUpdateManyWithoutSaleNestedInput No
installments InstallmentUncheckedUpdateManyWithoutSaleNestedInput No
documents DocumentUncheckedUpdateManyWithoutSaleNestedInput No

SaleUncheckedUpdateManyWithoutResponsibleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PurchaseUpdateWithoutResponsibleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutPurchasesNestedInput No
supplier OrganizationCustomerUpdateOneRequiredWithoutPurchasesNestedInput No
currency CurrencyUpdateOneRequiredWithoutPurchasesNestedInput No
kassa KassaUpdateOneWithoutPurchasesNestedInput No
items PurchaseItemUpdateManyWithoutPurchaseNestedInput No
payments PaymentUpdateManyWithoutPurchaseNestedInput No

PurchaseUncheckedUpdateWithoutResponsibleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
supplierId String | StringFieldUpdateOperationsInput No
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
items PurchaseItemUncheckedUpdateManyWithoutPurchaseNestedInput No
payments PaymentUncheckedUpdateManyWithoutPurchaseNestedInput No

PurchaseUncheckedUpdateManyWithoutResponsibleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
supplierId String | StringFieldUpdateOperationsInput No
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserPhoneUpdateWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
phone String | StringFieldUpdateOperationsInput No
note String | NullableStringFieldUpdateOperationsInput | Null Yes
isPrimary Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserPhoneUncheckedUpdateWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
phone String | StringFieldUpdateOperationsInput No
note String | NullableStringFieldUpdateOperationsInput | Null Yes
isPrimary Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserPhoneUncheckedUpdateManyWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
phone String | StringFieldUpdateOperationsInput No
note String | NullableStringFieldUpdateOperationsInput | Null Yes
isPrimary Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

AuditLogUpdateWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
action String | StringFieldUpdateOperationsInput No
entity String | StringFieldUpdateOperationsInput No
entityId String | NullableStringFieldUpdateOperationsInput | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutAudit_logsNestedInput No

AuditLogUncheckedUpdateWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
action String | StringFieldUpdateOperationsInput No
entity String | StringFieldUpdateOperationsInput No
entityId String | NullableStringFieldUpdateOperationsInput | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

AuditLogUncheckedUpdateManyWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
action String | StringFieldUpdateOperationsInput No
entity String | StringFieldUpdateOperationsInput No
entityId String | NullableStringFieldUpdateOperationsInput | Null Yes
oldValue NullableJsonNullValueInput | Json No
newValue NullableJsonNullValueInput | Json No
note String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No


DocumentUncheckedUpdateWithoutUploadedByInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
type DocumentType | EnumDocumentTypeFieldUpdateOperationsInput No
fileUrl String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

DocumentUncheckedUpdateManyWithoutUploadedByInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
type DocumentType | EnumDocumentTypeFieldUpdateOperationsInput No
fileUrl String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

InstallmentPaymentUpdateWithoutCreated_byInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
paidAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod String | NullableStringFieldUpdateOperationsInput | Null Yes
note String | NullableStringFieldUpdateOperationsInput | Null Yes
installment InstallmentUpdateOneRequiredWithoutPaymentsNestedInput No
payment PaymentUpdateOneWithoutInstallment_paymentsNestedInput No

InstallmentPaymentUncheckedUpdateWithoutCreated_byInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
installmentId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
paidAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod String | NullableStringFieldUpdateOperationsInput | Null Yes
note String | NullableStringFieldUpdateOperationsInput | Null Yes
paymentId String | NullableStringFieldUpdateOperationsInput | Null Yes

InstallmentPaymentUncheckedUpdateManyWithoutCreated_byInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
installmentId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
paidAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod String | NullableStringFieldUpdateOperationsInput | Null Yes
note String | NullableStringFieldUpdateOperationsInput | Null Yes
paymentId String | NullableStringFieldUpdateOperationsInput | Null Yes

UserCreateManyRoleInput

Name Type Nullable
id String No
email String | Null Yes
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No

UserUpdateWithoutRoleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
profile UserProfileUpdateOneWithoutUserNestedInput No
org_links OrganizationUserUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUpdateManyWithoutUserNestedInput No
payments PaymentUpdateManyWithoutUserNestedInput No
sales SaleUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUpdateManyWithoutUserNestedInput No
documents DocumentUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUpdateManyWithoutCreated_byNestedInput No

UserUncheckedUpdateWithoutRoleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
org_links OrganizationUserUncheckedUpdateManyWithoutUserNestedInput No
cutomer_links OrganizationCustomerUncheckedUpdateManyWithoutUserNestedInput No
payments PaymentUncheckedUpdateManyWithoutUserNestedInput No
sales SaleUncheckedUpdateManyWithoutResponsibleNestedInput No
purchases PurchaseUncheckedUpdateManyWithoutResponsibleNestedInput No
phone_numbers UserPhoneUncheckedUpdateManyWithoutUserNestedInput No
audit_logs AuditLogUncheckedUpdateManyWithoutUserNestedInput No
documents DocumentUncheckedUpdateManyWithoutUploadedByNestedInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutCreated_byNestedInput No

UserUncheckedUpdateManyWithoutRoleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
email String | NullableStringFieldUpdateOperationsInput | Null Yes
password String | StringFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductInstanceCreateManyCurrent_ownerInput

Name Type Nullable
id String No
productVariantId String | Null Yes
serialNumber String No
currentStatus ProductStatus No
organizationId String No
createdAt DateTime No
updatedAt DateTime No

PaymentCreateManyCustomerInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
kassaId String No
amount Decimal No
currencyId String No
type PaymentType No
description String | Null Yes
purchaseId String | Null Yes
saleId String | Null Yes
createdAt DateTime No

TransactionCreateManyCustomerInput

Name Type Nullable
id String No
organizationId String No
relatedType RelatedType No
relatedId String No
date DateTime No
debit Decimal No
credit Decimal No
balanceAfter Decimal No
currencyId String No
description String | Null Yes

SaleCreateManyCustomerInput

Name Type Nullable
id String No
organizationId String No
responsibleId String No
kassaId String | Null Yes
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No

PurchaseCreateManySupplierInput

Name Type Nullable
id String No
organizationId String No
responsibleId String | Null Yes
kassaId String | Null Yes
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No

InstallmentCreateManyCustomerInput

Name Type Nullable
id String No
saleId String No
totalAmount Decimal No
initialPayment Decimal No
paidAmount Decimal No
remaining Decimal No
totalMonths Int No
monthsLeft Int No
monthlyPayment Decimal No
dueDate DateTime No
status InstallmentStatus No
createdAt DateTime No
updatedAt DateTime No

DocumentCreateManyCustomerInput

Name Type Nullable
id String No
organizationId String No
saleId String | Null Yes
type DocumentType No
fileUrl String No
uploadedById String | Null Yes
createdAt DateTime No


ProductInstanceUncheckedUpdateWithoutCurrent_ownerInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | NullableStringFieldUpdateOperationsInput | Null Yes
serialNumber String | StringFieldUpdateOperationsInput No
currentStatus ProductStatus | EnumProductStatusFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
transactions ProductTransactionUncheckedUpdateManyWithoutProduct_instanceNestedInput No

ProductInstanceUncheckedUpdateManyWithoutCurrent_ownerInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | NullableStringFieldUpdateOperationsInput | Null Yes
serialNumber String | StringFieldUpdateOperationsInput No
currentStatus ProductStatus | EnumProductStatusFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


PaymentUncheckedUpdateWithoutCustomerInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutPaymentNestedInput No

PaymentUncheckedUpdateManyWithoutCustomerInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No


TransactionUncheckedUpdateWithoutCustomerInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
relatedType RelatedType | EnumRelatedTypeFieldUpdateOperationsInput No
relatedId String | StringFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No
debit Decimal | DecimalFieldUpdateOperationsInput No
credit Decimal | DecimalFieldUpdateOperationsInput No
balanceAfter Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

TransactionUncheckedUpdateManyWithoutCustomerInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
relatedType RelatedType | EnumRelatedTypeFieldUpdateOperationsInput No
relatedId String | StringFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No
debit Decimal | DecimalFieldUpdateOperationsInput No
credit Decimal | DecimalFieldUpdateOperationsInput No
balanceAfter Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

SaleUpdateWithoutCustomerInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutSalesNestedInput No
responsible UserUpdateOneRequiredWithoutSalesNestedInput No
currency CurrencyUpdateOneRequiredWithoutSalesNestedInput No
kassa KassaUpdateOneWithoutSalesNestedInput No
items SaleItemUpdateManyWithoutSaleNestedInput No
payments PaymentUpdateManyWithoutSaleNestedInput No
installments InstallmentUpdateManyWithoutSaleNestedInput No
documents DocumentUpdateManyWithoutSaleNestedInput No

SaleUncheckedUpdateWithoutCustomerInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
responsibleId String | StringFieldUpdateOperationsInput No
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
items SaleItemUncheckedUpdateManyWithoutSaleNestedInput No
payments PaymentUncheckedUpdateManyWithoutSaleNestedInput No
installments InstallmentUncheckedUpdateManyWithoutSaleNestedInput No
documents DocumentUncheckedUpdateManyWithoutSaleNestedInput No

SaleUncheckedUpdateManyWithoutCustomerInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
responsibleId String | StringFieldUpdateOperationsInput No
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PurchaseUpdateWithoutSupplierInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutPurchasesNestedInput No
responsible UserUpdateOneWithoutPurchasesNestedInput No
currency CurrencyUpdateOneRequiredWithoutPurchasesNestedInput No
kassa KassaUpdateOneWithoutPurchasesNestedInput No
items PurchaseItemUpdateManyWithoutPurchaseNestedInput No
payments PaymentUpdateManyWithoutPurchaseNestedInput No

PurchaseUncheckedUpdateWithoutSupplierInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
responsibleId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
items PurchaseItemUncheckedUpdateManyWithoutPurchaseNestedInput No
payments PaymentUncheckedUpdateManyWithoutPurchaseNestedInput No

PurchaseUncheckedUpdateManyWithoutSupplierInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
responsibleId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

InstallmentUpdateWithoutCustomerInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
initialPayment Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
remaining Decimal | DecimalFieldUpdateOperationsInput No
totalMonths Int | IntFieldUpdateOperationsInput No
monthsLeft Int | IntFieldUpdateOperationsInput No
monthlyPayment Decimal | DecimalFieldUpdateOperationsInput No
dueDate DateTime | DateTimeFieldUpdateOperationsInput No
status InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
sale SaleUpdateOneRequiredWithoutInstallmentsNestedInput No
payments InstallmentPaymentUpdateManyWithoutInstallmentNestedInput No

InstallmentUncheckedUpdateWithoutCustomerInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
saleId String | StringFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
initialPayment Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
remaining Decimal | DecimalFieldUpdateOperationsInput No
totalMonths Int | IntFieldUpdateOperationsInput No
monthsLeft Int | IntFieldUpdateOperationsInput No
monthlyPayment Decimal | DecimalFieldUpdateOperationsInput No
dueDate DateTime | DateTimeFieldUpdateOperationsInput No
status InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
payments InstallmentPaymentUncheckedUpdateManyWithoutInstallmentNestedInput No

InstallmentUncheckedUpdateManyWithoutCustomerInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
saleId String | StringFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
initialPayment Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
remaining Decimal | DecimalFieldUpdateOperationsInput No
totalMonths Int | IntFieldUpdateOperationsInput No
monthsLeft Int | IntFieldUpdateOperationsInput No
monthlyPayment Decimal | DecimalFieldUpdateOperationsInput No
dueDate DateTime | DateTimeFieldUpdateOperationsInput No
status InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


DocumentUncheckedUpdateWithoutCustomerInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
type DocumentType | EnumDocumentTypeFieldUpdateOperationsInput No
fileUrl String | StringFieldUpdateOperationsInput No
uploadedById String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

DocumentUncheckedUpdateManyWithoutCustomerInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
type DocumentType | EnumDocumentTypeFieldUpdateOperationsInput No
fileUrl String | StringFieldUpdateOperationsInput No
uploadedById String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductCreateManyBrandInput

Name Type Nullable
id String No
code String No
organizationId String No
name String No
description String | Null Yes
createdAt DateTime No
updatedAt DateTime No



ProductUncheckedUpdateManyWithoutBrandInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
code String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductCategoryCreateManyProductInput

Name Type Nullable
categoryId String No

ProductPriceCreateManyProductInput

Name Type Nullable
id String No
organizationId String | Null Yes
priceType PriceType No
amount Decimal No
currencyId String No
customerType CustomerType | Null Yes
createdAt DateTime No
updatedAt DateTime No

ProductVariantCreateManyProductInput

Name Type Nullable
id String No
sku String | Null Yes
barcode String | Null Yes
title String No
defaultPrice Decimal | Null Yes
currencyId String | Null Yes
createdAt DateTime No
updatedAt DateTime No

ProductImageCreateManyProductInput

Name Type Nullable
id String No
productVariantId String | Null Yes
url String No
alt String | Null Yes
isPrimary Boolean No
sortOrder Int No
createdAt DateTime No

ProductCategoryUpdateWithoutProductInput

Name Type Nullable
category CategoryUpdateOneRequiredWithoutProductsNestedInput No

ProductCategoryUncheckedUpdateWithoutProductInput

Name Type Nullable
categoryId String | StringFieldUpdateOperationsInput No

ProductCategoryUncheckedUpdateManyWithoutProductInput

Name Type Nullable
categoryId String | StringFieldUpdateOperationsInput No


ProductPriceUncheckedUpdateWithoutProductInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | NullableStringFieldUpdateOperationsInput | Null Yes
priceType PriceType | EnumPriceTypeFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
customerType CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductPriceUncheckedUpdateManyWithoutProductInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | NullableStringFieldUpdateOperationsInput | Null Yes
priceType PriceType | EnumPriceTypeFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
customerType CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductVariantUpdateWithoutProductInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
currency CurrencyUpdateOneWithoutProduct_variantNestedInput No
product_instance ProductInstanceUpdateManyWithoutProductVariantNestedInput No
product_variant_attribute ProductVariantAttributeUpdateManyWithoutVariantNestedInput No
product_batches ProductBatchUpdateManyWithoutProduct_variantNestedInput No
stocks StockUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUpdateManyWithoutProductVariantNestedInput No

ProductVariantUncheckedUpdateWithoutProductInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
currencyId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product_instance ProductInstanceUncheckedUpdateManyWithoutProductVariantNestedInput No
product_variant_attribute ProductVariantAttributeUncheckedUpdateManyWithoutVariantNestedInput No
product_batches ProductBatchUncheckedUpdateManyWithoutProduct_variantNestedInput No
stocks StockUncheckedUpdateManyWithoutProduct_variantNestedInput No
purchase_items PurchaseItemUncheckedUpdateManyWithoutProduct_variantNestedInput No
sele_items SaleItemUncheckedUpdateManyWithoutProduct_variantNestedInput No
images ProductImageUncheckedUpdateManyWithoutProductVariantNestedInput No

ProductVariantUncheckedUpdateManyWithoutProductInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
barcode String | NullableStringFieldUpdateOperationsInput | Null Yes
title String | StringFieldUpdateOperationsInput No
defaultPrice Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
currencyId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductImageUpdateWithoutProductInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
url String | StringFieldUpdateOperationsInput No
alt String | NullableStringFieldUpdateOperationsInput | Null Yes
isPrimary Boolean | BoolFieldUpdateOperationsInput No
sortOrder Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
productVariant ProductVariantUpdateOneWithoutImagesNestedInput No

ProductImageUncheckedUpdateWithoutProductInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | NullableStringFieldUpdateOperationsInput | Null Yes
url String | StringFieldUpdateOperationsInput No
alt String | NullableStringFieldUpdateOperationsInput | Null Yes
isPrimary Boolean | BoolFieldUpdateOperationsInput No
sortOrder Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductImageUncheckedUpdateManyWithoutProductInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | NullableStringFieldUpdateOperationsInput | Null Yes
url String | StringFieldUpdateOperationsInput No
alt String | NullableStringFieldUpdateOperationsInput | Null Yes
isPrimary Boolean | BoolFieldUpdateOperationsInput No
sortOrder Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductInstanceCreateManyProductVariantInput

Name Type Nullable
id String No
serialNumber String No
currentOwnerId String | Null Yes
currentStatus ProductStatus No
organizationId String No
createdAt DateTime No
updatedAt DateTime No

ProductVariantAttributeCreateManyVariantInput

Name Type Nullable
id String No
attributeValueId String No

ProductBatchCreateManyProduct_variantInput

Name Type Nullable
id String No
batchNumber String No
expiryDate DateTime | Null Yes
quantity Int No
isValid Boolean No
createdAt DateTime No

StockCreateManyProduct_variantInput

Name Type Nullable
id String No
organizationId String No
quantity Int No
updatedAt DateTime No

PurchaseItemCreateManyProduct_variantInput

Name Type Nullable
id String No
purchaseId String No
quantity Int No
price Decimal No
discount Decimal No
total Decimal No

SaleItemCreateManyProduct_variantInput

Name Type Nullable
id String No
saleId String No
quantity Int No
price Decimal No
total Decimal No
currencyId String No

ProductImageCreateManyProductVariantInput

Name Type Nullable
id String No
productId String | Null Yes
url String No
alt String | Null Yes
isPrimary Boolean No
sortOrder Int No
createdAt DateTime No


ProductInstanceUncheckedUpdateWithoutProductVariantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
serialNumber String | StringFieldUpdateOperationsInput No
currentOwnerId String | NullableStringFieldUpdateOperationsInput | Null Yes
currentStatus ProductStatus | EnumProductStatusFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
transactions ProductTransactionUncheckedUpdateManyWithoutProduct_instanceNestedInput No

ProductInstanceUncheckedUpdateManyWithoutProductVariantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
serialNumber String | StringFieldUpdateOperationsInput No
currentOwnerId String | NullableStringFieldUpdateOperationsInput | Null Yes
currentStatus ProductStatus | EnumProductStatusFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductVariantAttributeUpdateWithoutVariantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
value AttributeValueUpdateOneRequiredWithoutProduct_variant_attributeNestedInput No

ProductVariantAttributeUncheckedUpdateWithoutVariantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
attributeValueId String | StringFieldUpdateOperationsInput No

ProductVariantAttributeUncheckedUpdateManyWithoutVariantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
attributeValueId String | StringFieldUpdateOperationsInput No

ProductBatchUpdateWithoutProduct_variantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
batchNumber String | StringFieldUpdateOperationsInput No
expiryDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
quantity Int | IntFieldUpdateOperationsInput No
isValid Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductBatchUncheckedUpdateWithoutProduct_variantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
batchNumber String | StringFieldUpdateOperationsInput No
expiryDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
quantity Int | IntFieldUpdateOperationsInput No
isValid Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductBatchUncheckedUpdateManyWithoutProduct_variantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
batchNumber String | StringFieldUpdateOperationsInput No
expiryDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
quantity Int | IntFieldUpdateOperationsInput No
isValid Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

StockUpdateWithoutProduct_variantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutStocksNestedInput No

StockUncheckedUpdateWithoutProduct_variantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

StockUncheckedUpdateManyWithoutProduct_variantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PurchaseItemUpdateWithoutProduct_variantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
discount Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No
purchase PurchaseUpdateOneRequiredWithoutItemsNestedInput No

PurchaseItemUncheckedUpdateWithoutProduct_variantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
purchaseId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
discount Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No

PurchaseItemUncheckedUpdateManyWithoutProduct_variantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
purchaseId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
discount Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No


SaleItemUncheckedUpdateWithoutProduct_variantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
saleId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No

SaleItemUncheckedUpdateManyWithoutProduct_variantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
saleId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No

ProductImageUpdateWithoutProductVariantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
url String | StringFieldUpdateOperationsInput No
alt String | NullableStringFieldUpdateOperationsInput | Null Yes
isPrimary Boolean | BoolFieldUpdateOperationsInput No
sortOrder Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
product ProductUpdateOneWithoutImagesNestedInput No

ProductImageUncheckedUpdateWithoutProductVariantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | NullableStringFieldUpdateOperationsInput | Null Yes
url String | StringFieldUpdateOperationsInput No
alt String | NullableStringFieldUpdateOperationsInput | Null Yes
isPrimary Boolean | BoolFieldUpdateOperationsInput No
sortOrder Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductImageUncheckedUpdateManyWithoutProductVariantInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productId String | NullableStringFieldUpdateOperationsInput | Null Yes
url String | StringFieldUpdateOperationsInput No
alt String | NullableStringFieldUpdateOperationsInput | Null Yes
isPrimary Boolean | BoolFieldUpdateOperationsInput No
sortOrder Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

AttributeValueCreateManyAttributeInput

Name Type Nullable
id String No
value String No

AttributeValueUpdateWithoutAttributeInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
value String | StringFieldUpdateOperationsInput No
product_variant_attribute ProductVariantAttributeUpdateManyWithoutValueNestedInput No

AttributeValueUncheckedUpdateWithoutAttributeInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
value String | StringFieldUpdateOperationsInput No
product_variant_attribute ProductVariantAttributeUncheckedUpdateManyWithoutValueNestedInput No

AttributeValueUncheckedUpdateManyWithoutAttributeInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
value String | StringFieldUpdateOperationsInput No

ProductVariantAttributeCreateManyValueInput

Name Type Nullable
id String No
productVariantId String No

ProductVariantAttributeUpdateWithoutValueInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
variant ProductVariantUpdateOneRequiredWithoutProduct_variant_attributeNestedInput No

ProductVariantAttributeUncheckedUpdateWithoutValueInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No

ProductVariantAttributeUncheckedUpdateManyWithoutValueInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No

ProductCategoryCreateManyCategoryInput

Name Type Nullable
productId String No

ProductCategoryUpdateWithoutCategoryInput

Name Type Nullable
product ProductUpdateOneRequiredWithoutCategoriesNestedInput No

ProductCategoryUncheckedUpdateWithoutCategoryInput

Name Type Nullable
productId String | StringFieldUpdateOperationsInput No

ProductCategoryUncheckedUpdateManyWithoutCategoryInput

Name Type Nullable
productId String | StringFieldUpdateOperationsInput No

ProductTransactionCreateManyProduct_instanceInput

Name Type Nullable
id String No
fromCustomerId String | Null Yes
toCustomerId String | Null Yes
toOrganizationId String | Null Yes
saleId String | Null Yes
action ProductAction No
date DateTime No
description String | Null Yes

ProductTransactionUpdateWithoutProduct_instanceInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
fromCustomerId String | NullableStringFieldUpdateOperationsInput | Null Yes
toCustomerId String | NullableStringFieldUpdateOperationsInput | Null Yes
toOrganizationId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
action ProductAction | EnumProductActionFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

ProductTransactionUncheckedUpdateWithoutProduct_instanceInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
fromCustomerId String | NullableStringFieldUpdateOperationsInput | Null Yes
toCustomerId String | NullableStringFieldUpdateOperationsInput | Null Yes
toOrganizationId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
action ProductAction | EnumProductActionFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

ProductTransactionUncheckedUpdateManyWithoutProduct_instanceInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
fromCustomerId String | NullableStringFieldUpdateOperationsInput | Null Yes
toCustomerId String | NullableStringFieldUpdateOperationsInput | Null Yes
toOrganizationId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
action ProductAction | EnumProductActionFieldUpdateOperationsInput No
date DateTime | DateTimeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes

PaymentCreateManyKassaInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
customerId String | Null Yes
amount Decimal No
currencyId String No
type PaymentType No
description String | Null Yes
purchaseId String | Null Yes
saleId String | Null Yes
createdAt DateTime No

PurchaseCreateManyKassaInput

Name Type Nullable
id String No
organizationId String No
supplierId String No
responsibleId String | Null Yes
invoiceNumber String | Null Yes
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status PurchaseStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No

SaleCreateManyKassaInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
responsibleId String No
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status SaleStatus No
notes String | Null Yes
createdAt DateTime No
updatedAt DateTime No

KassaTransferCreateManyFrom_kassaInput

Name Type Nullable
id String No
organizationId String No
toKassaId String No
fromCurrencyId String No
toCurrencyId String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No

KassaTransferCreateManyTo_kassaInput

Name Type Nullable
id String No
organizationId String No
fromKassaId String No
fromCurrencyId String No
toCurrencyId String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String | Null Yes
createdAt DateTime No


PaymentUncheckedUpdateWithoutKassaInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutPaymentNestedInput No

PaymentUncheckedUpdateManyWithoutKassaInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseId String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

PurchaseUpdateWithoutKassaInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutPurchasesNestedInput No
supplier OrganizationCustomerUpdateOneRequiredWithoutPurchasesNestedInput No
responsible UserUpdateOneWithoutPurchasesNestedInput No
currency CurrencyUpdateOneRequiredWithoutPurchasesNestedInput No
items PurchaseItemUpdateManyWithoutPurchaseNestedInput No
payments PaymentUpdateManyWithoutPurchaseNestedInput No

PurchaseUncheckedUpdateWithoutKassaInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
supplierId String | StringFieldUpdateOperationsInput No
responsibleId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
items PurchaseItemUncheckedUpdateManyWithoutPurchaseNestedInput No
payments PaymentUncheckedUpdateManyWithoutPurchaseNestedInput No

PurchaseUncheckedUpdateManyWithoutKassaInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
supplierId String | StringFieldUpdateOperationsInput No
responsibleId String | NullableStringFieldUpdateOperationsInput | Null Yes
invoiceNumber String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

SaleUpdateWithoutKassaInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
organization OrganizationUpdateOneRequiredWithoutSalesNestedInput No
customer OrganizationCustomerUpdateOneWithoutSalesNestedInput No
responsible UserUpdateOneRequiredWithoutSalesNestedInput No
currency CurrencyUpdateOneRequiredWithoutSalesNestedInput No
items SaleItemUpdateManyWithoutSaleNestedInput No
payments PaymentUpdateManyWithoutSaleNestedInput No
installments InstallmentUpdateManyWithoutSaleNestedInput No
documents DocumentUpdateManyWithoutSaleNestedInput No

SaleUncheckedUpdateWithoutKassaInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
responsibleId String | StringFieldUpdateOperationsInput No
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
items SaleItemUncheckedUpdateManyWithoutSaleNestedInput No
payments PaymentUncheckedUpdateManyWithoutSaleNestedInput No
installments InstallmentUncheckedUpdateManyWithoutSaleNestedInput No
documents DocumentUncheckedUpdateManyWithoutSaleNestedInput No

SaleUncheckedUpdateManyWithoutKassaInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
responsibleId String | StringFieldUpdateOperationsInput No
invoiceNumber String | StringFieldUpdateOperationsInput No
saleDate DateTime | DateTimeFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
status SaleStatus | EnumSaleStatusFieldUpdateOperationsInput No
notes String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


KassaTransferUncheckedUpdateWithoutFrom_kassaInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
toKassaId String | StringFieldUpdateOperationsInput No
fromCurrencyId String | StringFieldUpdateOperationsInput No
toCurrencyId String | StringFieldUpdateOperationsInput No
rate Decimal | DecimalFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
convertedAmount Decimal | DecimalFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

KassaTransferUncheckedUpdateManyWithoutFrom_kassaInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
toKassaId String | StringFieldUpdateOperationsInput No
fromCurrencyId String | StringFieldUpdateOperationsInput No
toCurrencyId String | StringFieldUpdateOperationsInput No
rate Decimal | DecimalFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
convertedAmount Decimal | DecimalFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No


KassaTransferUncheckedUpdateWithoutTo_kassaInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
fromKassaId String | StringFieldUpdateOperationsInput No
fromCurrencyId String | StringFieldUpdateOperationsInput No
toCurrencyId String | StringFieldUpdateOperationsInput No
rate Decimal | DecimalFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
convertedAmount Decimal | DecimalFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

KassaTransferUncheckedUpdateManyWithoutTo_kassaInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
fromKassaId String | StringFieldUpdateOperationsInput No
fromCurrencyId String | StringFieldUpdateOperationsInput No
toCurrencyId String | StringFieldUpdateOperationsInput No
rate Decimal | DecimalFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
convertedAmount Decimal | DecimalFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

InstallmentPaymentCreateManyPaymentInput

Name Type Nullable
id String No
installmentId String No
amount Decimal No
paidAt DateTime No
paymentMethod String | Null Yes
note String | Null Yes
createdById String | Null Yes

InstallmentPaymentUpdateWithoutPaymentInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
paidAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod String | NullableStringFieldUpdateOperationsInput | Null Yes
note String | NullableStringFieldUpdateOperationsInput | Null Yes
installment InstallmentUpdateOneRequiredWithoutPaymentsNestedInput No
created_by UserUpdateOneWithoutInstallment_paymentsNestedInput No

InstallmentPaymentUncheckedUpdateWithoutPaymentInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
installmentId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
paidAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod String | NullableStringFieldUpdateOperationsInput | Null Yes
note String | NullableStringFieldUpdateOperationsInput | Null Yes
createdById String | NullableStringFieldUpdateOperationsInput | Null Yes

InstallmentPaymentUncheckedUpdateManyWithoutPaymentInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
installmentId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
paidAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod String | NullableStringFieldUpdateOperationsInput | Null Yes
note String | NullableStringFieldUpdateOperationsInput | Null Yes
createdById String | NullableStringFieldUpdateOperationsInput | Null Yes

SaleItemCreateManySaleInput

Name Type Nullable
id String No
productVariantId String No
quantity Int No
price Decimal No
total Decimal No
currencyId String No

PaymentCreateManySaleInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
customerId String | Null Yes
kassaId String No
amount Decimal No
currencyId String No
type PaymentType No
description String | Null Yes
purchaseId String | Null Yes
createdAt DateTime No

InstallmentCreateManySaleInput

Name Type Nullable
id String No
customerId String No
totalAmount Decimal No
initialPayment Decimal No
paidAmount Decimal No
remaining Decimal No
totalMonths Int No
monthsLeft Int No
monthlyPayment Decimal No
dueDate DateTime No
status InstallmentStatus No
createdAt DateTime No
updatedAt DateTime No

DocumentCreateManySaleInput

Name Type Nullable
id String No
organizationId String No
customerId String | Null Yes
type DocumentType No
fileUrl String No
uploadedById String | Null Yes
createdAt DateTime No


SaleItemUncheckedUpdateWithoutSaleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No

SaleItemUncheckedUpdateManyWithoutSaleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No


PaymentUncheckedUpdateWithoutSaleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutPaymentNestedInput No

PaymentUncheckedUpdateManyWithoutSaleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
purchaseId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

InstallmentUpdateWithoutSaleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
initialPayment Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
remaining Decimal | DecimalFieldUpdateOperationsInput No
totalMonths Int | IntFieldUpdateOperationsInput No
monthsLeft Int | IntFieldUpdateOperationsInput No
monthlyPayment Decimal | DecimalFieldUpdateOperationsInput No
dueDate DateTime | DateTimeFieldUpdateOperationsInput No
status InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
customer OrganizationCustomerUpdateOneRequiredWithoutInstallmentsNestedInput No
payments InstallmentPaymentUpdateManyWithoutInstallmentNestedInput No

InstallmentUncheckedUpdateWithoutSaleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
customerId String | StringFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
initialPayment Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
remaining Decimal | DecimalFieldUpdateOperationsInput No
totalMonths Int | IntFieldUpdateOperationsInput No
monthsLeft Int | IntFieldUpdateOperationsInput No
monthlyPayment Decimal | DecimalFieldUpdateOperationsInput No
dueDate DateTime | DateTimeFieldUpdateOperationsInput No
status InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
payments InstallmentPaymentUncheckedUpdateManyWithoutInstallmentNestedInput No

InstallmentUncheckedUpdateManyWithoutSaleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
customerId String | StringFieldUpdateOperationsInput No
totalAmount Decimal | DecimalFieldUpdateOperationsInput No
initialPayment Decimal | DecimalFieldUpdateOperationsInput No
paidAmount Decimal | DecimalFieldUpdateOperationsInput No
remaining Decimal | DecimalFieldUpdateOperationsInput No
totalMonths Int | IntFieldUpdateOperationsInput No
monthsLeft Int | IntFieldUpdateOperationsInput No
monthlyPayment Decimal | DecimalFieldUpdateOperationsInput No
dueDate DateTime | DateTimeFieldUpdateOperationsInput No
status InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


DocumentUncheckedUpdateWithoutSaleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
type DocumentType | EnumDocumentTypeFieldUpdateOperationsInput No
fileUrl String | StringFieldUpdateOperationsInput No
uploadedById String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

DocumentUncheckedUpdateManyWithoutSaleInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
type DocumentType | EnumDocumentTypeFieldUpdateOperationsInput No
fileUrl String | StringFieldUpdateOperationsInput No
uploadedById String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

PurchaseItemCreateManyPurchaseInput

Name Type Nullable
id String No
productVariantId String No
quantity Int No
price Decimal No
discount Decimal No
total Decimal No

PaymentCreateManyPurchaseInput

Name Type Nullable
id String No
organizationId String No
userId String | Null Yes
customerId String | Null Yes
kassaId String No
amount Decimal No
currencyId String No
type PaymentType No
description String | Null Yes
saleId String | Null Yes
createdAt DateTime No


PurchaseItemUncheckedUpdateWithoutPurchaseInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
discount Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No

PurchaseItemUncheckedUpdateManyWithoutPurchaseInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
productVariantId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
discount Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No


PaymentUncheckedUpdateWithoutPurchaseInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
installment_payments InstallmentPaymentUncheckedUpdateManyWithoutPaymentNestedInput No

PaymentUncheckedUpdateManyWithoutPurchaseInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
organizationId String | StringFieldUpdateOperationsInput No
userId String | NullableStringFieldUpdateOperationsInput | Null Yes
customerId String | NullableStringFieldUpdateOperationsInput | Null Yes
kassaId String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
currencyId String | StringFieldUpdateOperationsInput No
type PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
description String | NullableStringFieldUpdateOperationsInput | Null Yes
saleId String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No

InstallmentPaymentCreateManyInstallmentInput

Name Type Nullable
id String No
amount Decimal No
paidAt DateTime No
paymentMethod String | Null Yes
note String | Null Yes
createdById String | Null Yes
paymentId String | Null Yes

InstallmentPaymentUpdateWithoutInstallmentInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
paidAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod String | NullableStringFieldUpdateOperationsInput | Null Yes
note String | NullableStringFieldUpdateOperationsInput | Null Yes
created_by UserUpdateOneWithoutInstallment_paymentsNestedInput No
payment PaymentUpdateOneWithoutInstallment_paymentsNestedInput No

InstallmentPaymentUncheckedUpdateWithoutInstallmentInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
paidAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod String | NullableStringFieldUpdateOperationsInput | Null Yes
note String | NullableStringFieldUpdateOperationsInput | Null Yes
createdById String | NullableStringFieldUpdateOperationsInput | Null Yes
paymentId String | NullableStringFieldUpdateOperationsInput | Null Yes

InstallmentPaymentUncheckedUpdateManyWithoutInstallmentInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
amount Decimal | DecimalFieldUpdateOperationsInput No
paidAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod String | NullableStringFieldUpdateOperationsInput | Null Yes
note String | NullableStringFieldUpdateOperationsInput | Null Yes
createdById String | NullableStringFieldUpdateOperationsInput | Null Yes
paymentId String | NullableStringFieldUpdateOperationsInput | Null Yes

Output Types

Currency

Name Type Nullable
id String Yes
code String Yes
name String Yes
symbol String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
product_prices ProductPrice[] No
kassas Kassa[] No
payments Payment[] No
transactions Transaction[] No
sales Sale[] No
sale_items SaleItem[] No
purchases Purchase[] No
from_transfers KassaTransfer[] No
to_transfers KassaTransfer[] No
settings Settings[] No
product_variant ProductVariant[] No
_count CurrencyCountOutputType Yes

CurrencyRate

Name Type Nullable
id String Yes
baseCurrency String Yes
targetCurrency String Yes
rate Decimal Yes
date DateTime Yes

Organization

Name Type Nullable
id String Yes
name String Yes
address String No
phone String No
email String No
createdAt DateTime Yes
updatedAt DateTime Yes
org_users OrganizationUser[] No
customers OrganizationCustomer[] No
products Product[] No
product_prices ProductPrice[] No
product_instances ProductInstance[] No
kassas Kassa[] No
payments Payment[] No
transactions Transaction[] No
sales Sale[] No
purchases Purchase[] No
stocks Stock[] No
kassa_transfers KassaTransfer[] No
settings Settings No
audit_logs AuditLog[] No
documents Document[] No
_count OrganizationCountOutputType Yes

User

Name Type Nullable
id String Yes
email String No
password String Yes
isActive Boolean Yes
createdAt DateTime Yes
updatedAt DateTime Yes
roleId String No
profile UserProfile No
role Role No
org_links OrganizationUser[] No
cutomer_links OrganizationCustomer[] No
payments Payment[] No
sales Sale[] No
purchases Purchase[] No
phone_numbers UserPhone[] No
audit_logs AuditLog[] No
documents Document[] No
installment_payments InstallmentPayment[] No
_count UserCountOutputType Yes

UserProfile

Name Type Nullable
id String Yes
userId String Yes
firstName String Yes
lastName String Yes
patronymic String No
dateOfBirth DateTime No
gender Gender Yes
passportSeries String No
passportNumber String No
issuedBy String No
issuedDate DateTime No
expiryDate DateTime No
country String No
region String No
city String No
address String No
registration String No
district String No
user User Yes

Role

Name Type Nullable
id String Yes
name String Yes
description String No
users User[] No
_count RoleCountOutputType Yes

UserPhone

Name Type Nullable
id String Yes
userId String Yes
phone String Yes
note String No
isPrimary Boolean Yes
createdAt DateTime Yes
updatedAt DateTime Yes
user User Yes

OrganizationUser

Name Type Nullable
id String Yes
organizationId String Yes
userId String Yes
role OrgUserRole Yes
position String No
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
user User Yes

OrganizationCustomer

Name Type Nullable
id String Yes
organizationId String Yes
userId String No
firstName String Yes
lastName String Yes
patronymic String No
phone String Yes
type CustomerType Yes
isBlacklisted Boolean Yes
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
user User No
product_instances ProductInstance[] No
payments Payment[] No
transactions Transaction[] No
sales Sale[] No
purchases Purchase[] No
installments Installment[] No
documents Document[] No
_count OrganizationCustomerCountOutputType Yes

Brand

Name Type Nullable
id String Yes
name String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
products Product[] No
_count BrandCountOutputType Yes

ProductImage

Name Type Nullable
id String Yes
productId String No
productVariantId String No
url String Yes
alt String No
isPrimary Boolean Yes
sortOrder Int Yes
createdAt DateTime Yes
product Product No
productVariant ProductVariant No

Product

Name Type Nullable
id String Yes
code String Yes
organizationId String Yes
name String Yes
description String No
brandId String No
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
brand Brand No
categories ProductCategory[] No
prices ProductPrice[] No
variants ProductVariant[] No
images ProductImage[] No
_count ProductCountOutputType Yes

ProductVariant

Name Type Nullable
id String Yes
productId String Yes
sku String No
barcode String No
title String Yes
defaultPrice Decimal No
currencyId String No
createdAt DateTime Yes
updatedAt DateTime Yes
currency Currency No
product Product Yes
product_instance ProductInstance[] No
product_variant_attribute ProductVariantAttribute[] No
product_batches ProductBatch[] No
stocks Stock[] No
purchase_items PurchaseItem[] No
sele_items SaleItem[] No
images ProductImage[] No
_count ProductVariantCountOutputType Yes

Attribute

Name Type Nullable
id String Yes
key String Yes
name String Yes
values AttributeValue[] No
_count AttributeCountOutputType Yes

AttributeValue

Name Type Nullable
id String Yes
attributeId String Yes
value String Yes
attribute Attribute Yes
product_variant_attribute ProductVariantAttribute[] No
_count AttributeValueCountOutputType Yes

ProductVariantAttribute

Name Type Nullable
id String Yes
productVariantId String Yes
attributeValueId String Yes
variant ProductVariant Yes
value AttributeValue Yes

Category

Name Type Nullable
id String Yes
name String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
products ProductCategory[] No
_count CategoryCountOutputType Yes

ProductCategory

Name Type Nullable
productId String Yes
categoryId String Yes
product Product Yes
category Category Yes

ProductPrice

Name Type Nullable
id String Yes
productId String Yes
organizationId String No
priceType PriceType Yes
amount Decimal Yes
currencyId String Yes
customerType CustomerType No
createdAt DateTime Yes
updatedAt DateTime Yes
currency Currency Yes
product Product Yes
organization Organization No

ProductInstance

Name Type Nullable
id String Yes
productVariantId String No
serialNumber String Yes
currentOwnerId String No
currentStatus ProductStatus Yes
organizationId String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
productVariant ProductVariant No
organization Organization Yes
current_owner OrganizationCustomer No
transactions ProductTransaction[] No
_count ProductInstanceCountOutputType Yes

ProductTransaction

Name Type Nullable
id String Yes
productInstanceId String Yes
fromCustomerId String No
toCustomerId String No
toOrganizationId String No
saleId String No
action ProductAction Yes
date DateTime Yes
description String No
product_instance ProductInstance Yes

ProductBatch

Name Type Nullable
id String Yes
productVariantId String Yes
batchNumber String Yes
expiryDate DateTime No
quantity Int Yes
isValid Boolean Yes
createdAt DateTime Yes
product_variant ProductVariant Yes

Stock

Name Type Nullable
id String Yes
organizationId String Yes
productVariantId String Yes
quantity Int Yes
updatedAt DateTime Yes
organization Organization Yes
product_variant ProductVariant Yes

Kassa

Name Type Nullable
id String Yes
organizationId String Yes
name String Yes
type String Yes
currencyId String Yes
balance Decimal Yes
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
currency Currency Yes
payments Payment[] No
purchases Purchase[] No
sales Sale[] No
outgoing_transfers KassaTransfer[] No
incoming_transfers KassaTransfer[] No
_count KassaCountOutputType Yes

KassaTransfer

Name Type Nullable
id String Yes
organizationId String Yes
fromKassaId String Yes
toKassaId String Yes
fromCurrencyId String Yes
toCurrencyId String Yes
rate Decimal Yes
amount Decimal Yes
convertedAmount Decimal Yes
description String No
createdAt DateTime Yes
organization Organization Yes
from_kassa Kassa Yes
to_kassa Kassa Yes
from_currency Currency Yes
to_currency Currency Yes

Payment

Name Type Nullable
id String Yes
organizationId String Yes
userId String No
customerId String No
kassaId String Yes
amount Decimal Yes
currencyId String Yes
type PaymentType Yes
description String No
purchaseId String No
saleId String No
createdAt DateTime Yes
organization Organization Yes
user User No
customer OrganizationCustomer No
kassa Kassa Yes
currency Currency Yes
purchase Purchase No
sale Sale No
installment_payments InstallmentPayment[] No
_count PaymentCountOutputType Yes

Transaction

Name Type Nullable
id String Yes
organizationId String Yes
customerId String Yes
relatedType RelatedType Yes
relatedId String Yes
date DateTime Yes
debit Decimal Yes
credit Decimal Yes
balanceAfter Decimal Yes
currencyId String Yes
description String No
organization Organization Yes
customer OrganizationCustomer Yes
currency Currency Yes

Sale

Name Type Nullable
id String Yes
organizationId String Yes
customerId String No
responsibleId String Yes
kassaId String No
invoiceNumber String Yes
saleDate DateTime Yes
totalAmount Decimal Yes
paidAmount Decimal Yes
currencyId String Yes
status SaleStatus Yes
notes String No
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
customer OrganizationCustomer No
responsible User Yes
currency Currency Yes
kassa Kassa No
items SaleItem[] No
payments Payment[] No
installments Installment[] No
documents Document[] No
_count SaleCountOutputType Yes

SaleItem

Name Type Nullable
id String Yes
saleId String Yes
productVariantId String Yes
quantity Int Yes
price Decimal Yes
total Decimal Yes
currencyId String Yes
sale Sale Yes
product_variant ProductVariant Yes
currency Currency Yes

Purchase

Name Type Nullable
id String Yes
organizationId String Yes
supplierId String Yes
responsibleId String No
kassaId String No
invoiceNumber String No
purchaseDate DateTime Yes
totalAmount Decimal Yes
paidAmount Decimal Yes
currencyId String Yes
status PurchaseStatus Yes
notes String No
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
supplier OrganizationCustomer Yes
responsible User No
currency Currency Yes
kassa Kassa No
items PurchaseItem[] No
payments Payment[] No
_count PurchaseCountOutputType Yes

PurchaseItem

Name Type Nullable
id String Yes
purchaseId String Yes
productVariantId String Yes
quantity Int Yes
price Decimal Yes
discount Decimal Yes
total Decimal Yes
purchase Purchase Yes
product_variant ProductVariant Yes

Installment

Name Type Nullable
id String Yes
saleId String Yes
customerId String Yes
totalAmount Decimal Yes
initialPayment Decimal Yes
paidAmount Decimal Yes
remaining Decimal Yes
totalMonths Int Yes
monthsLeft Int Yes
monthlyPayment Decimal Yes
dueDate DateTime Yes
status InstallmentStatus Yes
createdAt DateTime Yes
updatedAt DateTime Yes
sale Sale Yes
customer OrganizationCustomer Yes
payments InstallmentPayment[] No
_count InstallmentCountOutputType Yes

InstallmentPayment

Name Type Nullable
id String Yes
installmentId String Yes
amount Decimal Yes
paidAt DateTime Yes
paymentMethod String No
note String No
createdById String No
paymentId String No
installment Installment Yes
created_by User No
payment Payment No

Document

Name Type Nullable
id String Yes
organizationId String Yes
customerId String No
saleId String No
type DocumentType Yes
fileUrl String Yes
uploadedById String No
createdAt DateTime Yes
uploadedBy User No
organization Organization Yes
customer OrganizationCustomer No
sale Sale No

Settings

Name Type Nullable
id String Yes
organizationId String Yes
baseCurrencyId String Yes
language String No
dateFormat String No
enableInstallment Boolean Yes
enableNotifications Boolean Yes
enableAutoRateUpdate Boolean Yes
taxPercent Decimal No
logoUrl String No
theme ThemeType Yes
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
baseCurrency Currency Yes

AuditLog

Name Type Nullable
id String Yes
organizationId String Yes
userId String No
action String Yes
entity String Yes
entityId String No
oldValue Json No
newValue Json No
note String No
createdAt DateTime Yes
organization Organization Yes
user User No

CreateManyCurrencyAndReturnOutputType

Name Type Nullable
id String Yes
code String Yes
name String Yes
symbol String Yes
createdAt DateTime Yes
updatedAt DateTime Yes

UpdateManyCurrencyAndReturnOutputType

Name Type Nullable
id String Yes
code String Yes
name String Yes
symbol String Yes
createdAt DateTime Yes
updatedAt DateTime Yes

CreateManyCurrencyRateAndReturnOutputType

Name Type Nullable
id String Yes
baseCurrency String Yes
targetCurrency String Yes
rate Decimal Yes
date DateTime Yes

UpdateManyCurrencyRateAndReturnOutputType

Name Type Nullable
id String Yes
baseCurrency String Yes
targetCurrency String Yes
rate Decimal Yes
date DateTime Yes

CreateManyOrganizationAndReturnOutputType

Name Type Nullable
id String Yes
name String Yes
address String No
phone String No
email String No
createdAt DateTime Yes
updatedAt DateTime Yes

UpdateManyOrganizationAndReturnOutputType

Name Type Nullable
id String Yes
name String Yes
address String No
phone String No
email String No
createdAt DateTime Yes
updatedAt DateTime Yes

CreateManyUserAndReturnOutputType

Name Type Nullable
id String Yes
email String No
password String Yes
isActive Boolean Yes
createdAt DateTime Yes
updatedAt DateTime Yes
roleId String No
role Role No

UpdateManyUserAndReturnOutputType

Name Type Nullable
id String Yes
email String No
password String Yes
isActive Boolean Yes
createdAt DateTime Yes
updatedAt DateTime Yes
roleId String No
role Role No

CreateManyUserProfileAndReturnOutputType

Name Type Nullable
id String Yes
userId String Yes
firstName String Yes
lastName String Yes
patronymic String No
dateOfBirth DateTime No
gender Gender Yes
passportSeries String No
passportNumber String No
issuedBy String No
issuedDate DateTime No
expiryDate DateTime No
country String No
region String No
city String No
address String No
registration String No
district String No
user User Yes

UpdateManyUserProfileAndReturnOutputType

Name Type Nullable
id String Yes
userId String Yes
firstName String Yes
lastName String Yes
patronymic String No
dateOfBirth DateTime No
gender Gender Yes
passportSeries String No
passportNumber String No
issuedBy String No
issuedDate DateTime No
expiryDate DateTime No
country String No
region String No
city String No
address String No
registration String No
district String No
user User Yes

CreateManyRoleAndReturnOutputType

Name Type Nullable
id String Yes
name String Yes
description String No

UpdateManyRoleAndReturnOutputType

Name Type Nullable
id String Yes
name String Yes
description String No

CreateManyUserPhoneAndReturnOutputType

Name Type Nullable
id String Yes
userId String Yes
phone String Yes
note String No
isPrimary Boolean Yes
createdAt DateTime Yes
updatedAt DateTime Yes
user User Yes

UpdateManyUserPhoneAndReturnOutputType

Name Type Nullable
id String Yes
userId String Yes
phone String Yes
note String No
isPrimary Boolean Yes
createdAt DateTime Yes
updatedAt DateTime Yes
user User Yes

CreateManyOrganizationUserAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
userId String Yes
role OrgUserRole Yes
position String No
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
user User Yes

UpdateManyOrganizationUserAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
userId String Yes
role OrgUserRole Yes
position String No
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
user User Yes

CreateManyOrganizationCustomerAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
userId String No
firstName String Yes
lastName String Yes
patronymic String No
phone String Yes
type CustomerType Yes
isBlacklisted Boolean Yes
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
user User No

UpdateManyOrganizationCustomerAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
userId String No
firstName String Yes
lastName String Yes
patronymic String No
phone String Yes
type CustomerType Yes
isBlacklisted Boolean Yes
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
user User No

CreateManyBrandAndReturnOutputType

Name Type Nullable
id String Yes
name String Yes
createdAt DateTime Yes
updatedAt DateTime Yes

UpdateManyBrandAndReturnOutputType

Name Type Nullable
id String Yes
name String Yes
createdAt DateTime Yes
updatedAt DateTime Yes

CreateManyProductImageAndReturnOutputType

Name Type Nullable
id String Yes
productId String No
productVariantId String No
url String Yes
alt String No
isPrimary Boolean Yes
sortOrder Int Yes
createdAt DateTime Yes
product Product No
productVariant ProductVariant No

UpdateManyProductImageAndReturnOutputType

Name Type Nullable
id String Yes
productId String No
productVariantId String No
url String Yes
alt String No
isPrimary Boolean Yes
sortOrder Int Yes
createdAt DateTime Yes
product Product No
productVariant ProductVariant No

CreateManyProductAndReturnOutputType

Name Type Nullable
id String Yes
code String Yes
organizationId String Yes
name String Yes
description String No
brandId String No
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
brand Brand No

UpdateManyProductAndReturnOutputType

Name Type Nullable
id String Yes
code String Yes
organizationId String Yes
name String Yes
description String No
brandId String No
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
brand Brand No

CreateManyProductVariantAndReturnOutputType

Name Type Nullable
id String Yes
productId String Yes
sku String No
barcode String No
title String Yes
defaultPrice Decimal No
currencyId String No
createdAt DateTime Yes
updatedAt DateTime Yes
currency Currency No
product Product Yes

UpdateManyProductVariantAndReturnOutputType

Name Type Nullable
id String Yes
productId String Yes
sku String No
barcode String No
title String Yes
defaultPrice Decimal No
currencyId String No
createdAt DateTime Yes
updatedAt DateTime Yes
currency Currency No
product Product Yes

CreateManyAttributeAndReturnOutputType

Name Type Nullable
id String Yes
key String Yes
name String Yes

UpdateManyAttributeAndReturnOutputType

Name Type Nullable
id String Yes
key String Yes
name String Yes

CreateManyAttributeValueAndReturnOutputType

Name Type Nullable
id String Yes
attributeId String Yes
value String Yes
attribute Attribute Yes

UpdateManyAttributeValueAndReturnOutputType

Name Type Nullable
id String Yes
attributeId String Yes
value String Yes
attribute Attribute Yes

CreateManyProductVariantAttributeAndReturnOutputType

Name Type Nullable
id String Yes
productVariantId String Yes
attributeValueId String Yes
variant ProductVariant Yes
value AttributeValue Yes

UpdateManyProductVariantAttributeAndReturnOutputType

Name Type Nullable
id String Yes
productVariantId String Yes
attributeValueId String Yes
variant ProductVariant Yes
value AttributeValue Yes

CreateManyCategoryAndReturnOutputType

Name Type Nullable
id String Yes
name String Yes
createdAt DateTime Yes
updatedAt DateTime Yes

UpdateManyCategoryAndReturnOutputType

Name Type Nullable
id String Yes
name String Yes
createdAt DateTime Yes
updatedAt DateTime Yes

CreateManyProductCategoryAndReturnOutputType

Name Type Nullable
productId String Yes
categoryId String Yes
product Product Yes
category Category Yes

UpdateManyProductCategoryAndReturnOutputType

Name Type Nullable
productId String Yes
categoryId String Yes
product Product Yes
category Category Yes

CreateManyProductPriceAndReturnOutputType

Name Type Nullable
id String Yes
productId String Yes
organizationId String No
priceType PriceType Yes
amount Decimal Yes
currencyId String Yes
customerType CustomerType No
createdAt DateTime Yes
updatedAt DateTime Yes
currency Currency Yes
product Product Yes
organization Organization No

UpdateManyProductPriceAndReturnOutputType

Name Type Nullable
id String Yes
productId String Yes
organizationId String No
priceType PriceType Yes
amount Decimal Yes
currencyId String Yes
customerType CustomerType No
createdAt DateTime Yes
updatedAt DateTime Yes
currency Currency Yes
product Product Yes
organization Organization No

CreateManyProductInstanceAndReturnOutputType

Name Type Nullable
id String Yes
productVariantId String No
serialNumber String Yes
currentOwnerId String No
currentStatus ProductStatus Yes
organizationId String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
productVariant ProductVariant No
organization Organization Yes
current_owner OrganizationCustomer No

UpdateManyProductInstanceAndReturnOutputType

Name Type Nullable
id String Yes
productVariantId String No
serialNumber String Yes
currentOwnerId String No
currentStatus ProductStatus Yes
organizationId String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
productVariant ProductVariant No
organization Organization Yes
current_owner OrganizationCustomer No

CreateManyProductTransactionAndReturnOutputType

Name Type Nullable
id String Yes
productInstanceId String Yes
fromCustomerId String No
toCustomerId String No
toOrganizationId String No
saleId String No
action ProductAction Yes
date DateTime Yes
description String No
product_instance ProductInstance Yes

UpdateManyProductTransactionAndReturnOutputType

Name Type Nullable
id String Yes
productInstanceId String Yes
fromCustomerId String No
toCustomerId String No
toOrganizationId String No
saleId String No
action ProductAction Yes
date DateTime Yes
description String No
product_instance ProductInstance Yes

CreateManyProductBatchAndReturnOutputType

Name Type Nullable
id String Yes
productVariantId String Yes
batchNumber String Yes
expiryDate DateTime No
quantity Int Yes
isValid Boolean Yes
createdAt DateTime Yes
product_variant ProductVariant Yes

UpdateManyProductBatchAndReturnOutputType

Name Type Nullable
id String Yes
productVariantId String Yes
batchNumber String Yes
expiryDate DateTime No
quantity Int Yes
isValid Boolean Yes
createdAt DateTime Yes
product_variant ProductVariant Yes

CreateManyStockAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
productVariantId String Yes
quantity Int Yes
updatedAt DateTime Yes
organization Organization Yes
product_variant ProductVariant Yes

UpdateManyStockAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
productVariantId String Yes
quantity Int Yes
updatedAt DateTime Yes
organization Organization Yes
product_variant ProductVariant Yes

CreateManyKassaAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
name String Yes
type String Yes
currencyId String Yes
balance Decimal Yes
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
currency Currency Yes

UpdateManyKassaAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
name String Yes
type String Yes
currencyId String Yes
balance Decimal Yes
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
currency Currency Yes

CreateManyKassaTransferAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
fromKassaId String Yes
toKassaId String Yes
fromCurrencyId String Yes
toCurrencyId String Yes
rate Decimal Yes
amount Decimal Yes
convertedAmount Decimal Yes
description String No
createdAt DateTime Yes
organization Organization Yes
from_kassa Kassa Yes
to_kassa Kassa Yes
from_currency Currency Yes
to_currency Currency Yes

UpdateManyKassaTransferAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
fromKassaId String Yes
toKassaId String Yes
fromCurrencyId String Yes
toCurrencyId String Yes
rate Decimal Yes
amount Decimal Yes
convertedAmount Decimal Yes
description String No
createdAt DateTime Yes
organization Organization Yes
from_kassa Kassa Yes
to_kassa Kassa Yes
from_currency Currency Yes
to_currency Currency Yes

CreateManyPaymentAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
userId String No
customerId String No
kassaId String Yes
amount Decimal Yes
currencyId String Yes
type PaymentType Yes
description String No
purchaseId String No
saleId String No
createdAt DateTime Yes
organization Organization Yes
user User No
customer OrganizationCustomer No
kassa Kassa Yes
currency Currency Yes
purchase Purchase No
sale Sale No

UpdateManyPaymentAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
userId String No
customerId String No
kassaId String Yes
amount Decimal Yes
currencyId String Yes
type PaymentType Yes
description String No
purchaseId String No
saleId String No
createdAt DateTime Yes
organization Organization Yes
user User No
customer OrganizationCustomer No
kassa Kassa Yes
currency Currency Yes
purchase Purchase No
sale Sale No

CreateManyTransactionAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
customerId String Yes
relatedType RelatedType Yes
relatedId String Yes
date DateTime Yes
debit Decimal Yes
credit Decimal Yes
balanceAfter Decimal Yes
currencyId String Yes
description String No
organization Organization Yes
customer OrganizationCustomer Yes
currency Currency Yes

UpdateManyTransactionAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
customerId String Yes
relatedType RelatedType Yes
relatedId String Yes
date DateTime Yes
debit Decimal Yes
credit Decimal Yes
balanceAfter Decimal Yes
currencyId String Yes
description String No
organization Organization Yes
customer OrganizationCustomer Yes
currency Currency Yes

CreateManySaleAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
customerId String No
responsibleId String Yes
kassaId String No
invoiceNumber String Yes
saleDate DateTime Yes
totalAmount Decimal Yes
paidAmount Decimal Yes
currencyId String Yes
status SaleStatus Yes
notes String No
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
customer OrganizationCustomer No
responsible User Yes
currency Currency Yes
kassa Kassa No

UpdateManySaleAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
customerId String No
responsibleId String Yes
kassaId String No
invoiceNumber String Yes
saleDate DateTime Yes
totalAmount Decimal Yes
paidAmount Decimal Yes
currencyId String Yes
status SaleStatus Yes
notes String No
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
customer OrganizationCustomer No
responsible User Yes
currency Currency Yes
kassa Kassa No

CreateManySaleItemAndReturnOutputType

Name Type Nullable
id String Yes
saleId String Yes
productVariantId String Yes
quantity Int Yes
price Decimal Yes
total Decimal Yes
currencyId String Yes
sale Sale Yes
product_variant ProductVariant Yes
currency Currency Yes

UpdateManySaleItemAndReturnOutputType

Name Type Nullable
id String Yes
saleId String Yes
productVariantId String Yes
quantity Int Yes
price Decimal Yes
total Decimal Yes
currencyId String Yes
sale Sale Yes
product_variant ProductVariant Yes
currency Currency Yes

CreateManyPurchaseAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
supplierId String Yes
responsibleId String No
kassaId String No
invoiceNumber String No
purchaseDate DateTime Yes
totalAmount Decimal Yes
paidAmount Decimal Yes
currencyId String Yes
status PurchaseStatus Yes
notes String No
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
supplier OrganizationCustomer Yes
responsible User No
currency Currency Yes
kassa Kassa No

UpdateManyPurchaseAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
supplierId String Yes
responsibleId String No
kassaId String No
invoiceNumber String No
purchaseDate DateTime Yes
totalAmount Decimal Yes
paidAmount Decimal Yes
currencyId String Yes
status PurchaseStatus Yes
notes String No
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
supplier OrganizationCustomer Yes
responsible User No
currency Currency Yes
kassa Kassa No

CreateManyPurchaseItemAndReturnOutputType

Name Type Nullable
id String Yes
purchaseId String Yes
productVariantId String Yes
quantity Int Yes
price Decimal Yes
discount Decimal Yes
total Decimal Yes
purchase Purchase Yes
product_variant ProductVariant Yes

UpdateManyPurchaseItemAndReturnOutputType

Name Type Nullable
id String Yes
purchaseId String Yes
productVariantId String Yes
quantity Int Yes
price Decimal Yes
discount Decimal Yes
total Decimal Yes
purchase Purchase Yes
product_variant ProductVariant Yes

CreateManyInstallmentAndReturnOutputType

Name Type Nullable
id String Yes
saleId String Yes
customerId String Yes
totalAmount Decimal Yes
initialPayment Decimal Yes
paidAmount Decimal Yes
remaining Decimal Yes
totalMonths Int Yes
monthsLeft Int Yes
monthlyPayment Decimal Yes
dueDate DateTime Yes
status InstallmentStatus Yes
createdAt DateTime Yes
updatedAt DateTime Yes
sale Sale Yes
customer OrganizationCustomer Yes

UpdateManyInstallmentAndReturnOutputType

Name Type Nullable
id String Yes
saleId String Yes
customerId String Yes
totalAmount Decimal Yes
initialPayment Decimal Yes
paidAmount Decimal Yes
remaining Decimal Yes
totalMonths Int Yes
monthsLeft Int Yes
monthlyPayment Decimal Yes
dueDate DateTime Yes
status InstallmentStatus Yes
createdAt DateTime Yes
updatedAt DateTime Yes
sale Sale Yes
customer OrganizationCustomer Yes

CreateManyInstallmentPaymentAndReturnOutputType

Name Type Nullable
id String Yes
installmentId String Yes
amount Decimal Yes
paidAt DateTime Yes
paymentMethod String No
note String No
createdById String No
paymentId String No
installment Installment Yes
created_by User No
payment Payment No

UpdateManyInstallmentPaymentAndReturnOutputType

Name Type Nullable
id String Yes
installmentId String Yes
amount Decimal Yes
paidAt DateTime Yes
paymentMethod String No
note String No
createdById String No
paymentId String No
installment Installment Yes
created_by User No
payment Payment No

CreateManyDocumentAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
customerId String No
saleId String No
type DocumentType Yes
fileUrl String Yes
uploadedById String No
createdAt DateTime Yes
uploadedBy User No
organization Organization Yes
customer OrganizationCustomer No
sale Sale No

UpdateManyDocumentAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
customerId String No
saleId String No
type DocumentType Yes
fileUrl String Yes
uploadedById String No
createdAt DateTime Yes
uploadedBy User No
organization Organization Yes
customer OrganizationCustomer No
sale Sale No

CreateManySettingsAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
baseCurrencyId String Yes
language String No
dateFormat String No
enableInstallment Boolean Yes
enableNotifications Boolean Yes
enableAutoRateUpdate Boolean Yes
taxPercent Decimal No
logoUrl String No
theme ThemeType Yes
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
baseCurrency Currency Yes

UpdateManySettingsAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
baseCurrencyId String Yes
language String No
dateFormat String No
enableInstallment Boolean Yes
enableNotifications Boolean Yes
enableAutoRateUpdate Boolean Yes
taxPercent Decimal No
logoUrl String No
theme ThemeType Yes
createdAt DateTime Yes
updatedAt DateTime Yes
organization Organization Yes
baseCurrency Currency Yes

CreateManyAuditLogAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
userId String No
action String Yes
entity String Yes
entityId String No
oldValue Json No
newValue Json No
note String No
createdAt DateTime Yes
organization Organization Yes
user User No

UpdateManyAuditLogAndReturnOutputType

Name Type Nullable
id String Yes
organizationId String Yes
userId String No
action String Yes
entity String Yes
entityId String No
oldValue Json No
newValue Json No
note String No
createdAt DateTime Yes
organization Organization Yes
user User No

AggregateCurrency

Name Type Nullable
_count CurrencyCountAggregateOutputType No
_min CurrencyMinAggregateOutputType No
_max CurrencyMaxAggregateOutputType No

CurrencyGroupByOutputType

Name Type Nullable
id String Yes
code String Yes
name String Yes
symbol String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count CurrencyCountAggregateOutputType No
_min CurrencyMinAggregateOutputType No
_max CurrencyMaxAggregateOutputType No


CurrencyRateGroupByOutputType

Name Type Nullable
id String Yes
baseCurrency String Yes
targetCurrency String Yes
rate Decimal Yes
date DateTime Yes
_count CurrencyRateCountAggregateOutputType No
_avg CurrencyRateAvgAggregateOutputType No
_sum CurrencyRateSumAggregateOutputType No
_min CurrencyRateMinAggregateOutputType No
_max CurrencyRateMaxAggregateOutputType No

AggregateOrganization

Name Type Nullable
_count OrganizationCountAggregateOutputType No
_min OrganizationMinAggregateOutputType No
_max OrganizationMaxAggregateOutputType No

OrganizationGroupByOutputType

Name Type Nullable
id String Yes
name String Yes
address String No
phone String No
email String No
createdAt DateTime Yes
updatedAt DateTime Yes
_count OrganizationCountAggregateOutputType No
_min OrganizationMinAggregateOutputType No
_max OrganizationMaxAggregateOutputType No

AggregateUser

Name Type Nullable
_count UserCountAggregateOutputType No
_min UserMinAggregateOutputType No
_max UserMaxAggregateOutputType No

UserGroupByOutputType

Name Type Nullable
id String Yes
email String No
password String Yes
isActive Boolean Yes
createdAt DateTime Yes
updatedAt DateTime Yes
roleId String No
_count UserCountAggregateOutputType No
_min UserMinAggregateOutputType No
_max UserMaxAggregateOutputType No

AggregateUserProfile

Name Type Nullable
_count UserProfileCountAggregateOutputType No
_min UserProfileMinAggregateOutputType No
_max UserProfileMaxAggregateOutputType No

UserProfileGroupByOutputType

Name Type Nullable
id String Yes
userId String Yes
firstName String Yes
lastName String Yes
patronymic String No
dateOfBirth DateTime No
gender Gender Yes
passportSeries String No
passportNumber String No
issuedBy String No
issuedDate DateTime No
expiryDate DateTime No
country String No
region String No
city String No
address String No
registration String No
district String No
_count UserProfileCountAggregateOutputType No
_min UserProfileMinAggregateOutputType No
_max UserProfileMaxAggregateOutputType No

AggregateRole

Name Type Nullable
_count RoleCountAggregateOutputType No
_min RoleMinAggregateOutputType No
_max RoleMaxAggregateOutputType No

RoleGroupByOutputType

Name Type Nullable
id String Yes
name String Yes
description String No
_count RoleCountAggregateOutputType No
_min RoleMinAggregateOutputType No
_max RoleMaxAggregateOutputType No

AggregateUserPhone

Name Type Nullable
_count UserPhoneCountAggregateOutputType No
_min UserPhoneMinAggregateOutputType No
_max UserPhoneMaxAggregateOutputType No

UserPhoneGroupByOutputType

Name Type Nullable
id String Yes
userId String Yes
phone String Yes
note String No
isPrimary Boolean Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count UserPhoneCountAggregateOutputType No
_min UserPhoneMinAggregateOutputType No
_max UserPhoneMaxAggregateOutputType No


OrganizationUserGroupByOutputType

Name Type Nullable
id String Yes
organizationId String Yes
userId String Yes
role OrgUserRole Yes
position String No
createdAt DateTime Yes
updatedAt DateTime Yes
_count OrganizationUserCountAggregateOutputType No
_min OrganizationUserMinAggregateOutputType No
_max OrganizationUserMaxAggregateOutputType No


OrganizationCustomerGroupByOutputType

Name Type Nullable
id String Yes
organizationId String Yes
userId String No
firstName String Yes
lastName String Yes
patronymic String No
phone String Yes
type CustomerType Yes
isBlacklisted Boolean Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count OrganizationCustomerCountAggregateOutputType No
_min OrganizationCustomerMinAggregateOutputType No
_max OrganizationCustomerMaxAggregateOutputType No

AggregateBrand

Name Type Nullable
_count BrandCountAggregateOutputType No
_min BrandMinAggregateOutputType No
_max BrandMaxAggregateOutputType No

BrandGroupByOutputType

Name Type Nullable
id String Yes
name String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count BrandCountAggregateOutputType No
_min BrandMinAggregateOutputType No
_max BrandMaxAggregateOutputType No


ProductImageGroupByOutputType

Name Type Nullable
id String Yes
productId String No
productVariantId String No
url String Yes
alt String No
isPrimary Boolean Yes
sortOrder Int Yes
createdAt DateTime Yes
_count ProductImageCountAggregateOutputType No
_avg ProductImageAvgAggregateOutputType No
_sum ProductImageSumAggregateOutputType No
_min ProductImageMinAggregateOutputType No
_max ProductImageMaxAggregateOutputType No

AggregateProduct

Name Type Nullable
_count ProductCountAggregateOutputType No
_min ProductMinAggregateOutputType No
_max ProductMaxAggregateOutputType No

ProductGroupByOutputType

Name Type Nullable
id String Yes
code String Yes
organizationId String Yes
name String Yes
description String No
brandId String No
createdAt DateTime Yes
updatedAt DateTime Yes
_count ProductCountAggregateOutputType No
_min ProductMinAggregateOutputType No
_max ProductMaxAggregateOutputType No


ProductVariantGroupByOutputType

Name Type Nullable
id String Yes
productId String Yes
sku String No
barcode String No
title String Yes
defaultPrice Decimal No
currencyId String No
createdAt DateTime Yes
updatedAt DateTime Yes
_count ProductVariantCountAggregateOutputType No
_avg ProductVariantAvgAggregateOutputType No
_sum ProductVariantSumAggregateOutputType No
_min ProductVariantMinAggregateOutputType No
_max ProductVariantMaxAggregateOutputType No

AggregateAttribute

Name Type Nullable
_count AttributeCountAggregateOutputType No
_min AttributeMinAggregateOutputType No
_max AttributeMaxAggregateOutputType No

AttributeGroupByOutputType

Name Type Nullable
id String Yes
key String Yes
name String Yes
_count AttributeCountAggregateOutputType No
_min AttributeMinAggregateOutputType No
_max AttributeMaxAggregateOutputType No


AttributeValueGroupByOutputType

Name Type Nullable
id String Yes
attributeId String Yes
value String Yes
_count AttributeValueCountAggregateOutputType No
_min AttributeValueMinAggregateOutputType No
_max AttributeValueMaxAggregateOutputType No


ProductVariantAttributeGroupByOutputType

Name Type Nullable
id String Yes
productVariantId String Yes
attributeValueId String Yes
_count ProductVariantAttributeCountAggregateOutputType No
_min ProductVariantAttributeMinAggregateOutputType No
_max ProductVariantAttributeMaxAggregateOutputType No

AggregateCategory

Name Type Nullable
_count CategoryCountAggregateOutputType No
_min CategoryMinAggregateOutputType No
_max CategoryMaxAggregateOutputType No

CategoryGroupByOutputType

Name Type Nullable
id String Yes
name String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count CategoryCountAggregateOutputType No
_min CategoryMinAggregateOutputType No
_max CategoryMaxAggregateOutputType No


ProductCategoryGroupByOutputType

Name Type Nullable
productId String Yes
categoryId String Yes
_count ProductCategoryCountAggregateOutputType No
_min ProductCategoryMinAggregateOutputType No
_max ProductCategoryMaxAggregateOutputType No


ProductPriceGroupByOutputType

Name Type Nullable
id String Yes
productId String Yes
organizationId String No
priceType PriceType Yes
amount Decimal Yes
currencyId String Yes
customerType CustomerType No
createdAt DateTime Yes
updatedAt DateTime Yes
_count ProductPriceCountAggregateOutputType No
_avg ProductPriceAvgAggregateOutputType No
_sum ProductPriceSumAggregateOutputType No
_min ProductPriceMinAggregateOutputType No
_max ProductPriceMaxAggregateOutputType No


ProductInstanceGroupByOutputType

Name Type Nullable
id String Yes
productVariantId String No
serialNumber String Yes
currentOwnerId String No
currentStatus ProductStatus Yes
organizationId String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count ProductInstanceCountAggregateOutputType No
_min ProductInstanceMinAggregateOutputType No
_max ProductInstanceMaxAggregateOutputType No


ProductTransactionGroupByOutputType

Name Type Nullable
id String Yes
productInstanceId String Yes
fromCustomerId String No
toCustomerId String No
toOrganizationId String No
saleId String No
action ProductAction Yes
date DateTime Yes
description String No
_count ProductTransactionCountAggregateOutputType No
_min ProductTransactionMinAggregateOutputType No
_max ProductTransactionMaxAggregateOutputType No


ProductBatchGroupByOutputType

Name Type Nullable
id String Yes
productVariantId String Yes
batchNumber String Yes
expiryDate DateTime No
quantity Int Yes
isValid Boolean Yes
createdAt DateTime Yes
_count ProductBatchCountAggregateOutputType No
_avg ProductBatchAvgAggregateOutputType No
_sum ProductBatchSumAggregateOutputType No
_min ProductBatchMinAggregateOutputType No
_max ProductBatchMaxAggregateOutputType No


StockGroupByOutputType

Name Type Nullable
id String Yes
organizationId String Yes
productVariantId String Yes
quantity Int Yes
updatedAt DateTime Yes
_count StockCountAggregateOutputType No
_avg StockAvgAggregateOutputType No
_sum StockSumAggregateOutputType No
_min StockMinAggregateOutputType No
_max StockMaxAggregateOutputType No


KassaGroupByOutputType

Name Type Nullable
id String Yes
organizationId String Yes
name String Yes
type String Yes
currencyId String Yes
balance Decimal Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count KassaCountAggregateOutputType No
_avg KassaAvgAggregateOutputType No
_sum KassaSumAggregateOutputType No
_min KassaMinAggregateOutputType No
_max KassaMaxAggregateOutputType No


KassaTransferGroupByOutputType

Name Type Nullable
id String Yes
organizationId String Yes
fromKassaId String Yes
toKassaId String Yes
fromCurrencyId String Yes
toCurrencyId String Yes
rate Decimal Yes
amount Decimal Yes
convertedAmount Decimal Yes
description String No
createdAt DateTime Yes
_count KassaTransferCountAggregateOutputType No
_avg KassaTransferAvgAggregateOutputType No
_sum KassaTransferSumAggregateOutputType No
_min KassaTransferMinAggregateOutputType No
_max KassaTransferMaxAggregateOutputType No


PaymentGroupByOutputType

Name Type Nullable
id String Yes
organizationId String Yes
userId String No
customerId String No
kassaId String Yes
amount Decimal Yes
currencyId String Yes
type PaymentType Yes
description String No
purchaseId String No
saleId String No
createdAt DateTime Yes
_count PaymentCountAggregateOutputType No
_avg PaymentAvgAggregateOutputType No
_sum PaymentSumAggregateOutputType No
_min PaymentMinAggregateOutputType No
_max PaymentMaxAggregateOutputType No


TransactionGroupByOutputType

Name Type Nullable
id String Yes
organizationId String Yes
customerId String Yes
relatedType RelatedType Yes
relatedId String Yes
date DateTime Yes
debit Decimal Yes
credit Decimal Yes
balanceAfter Decimal Yes
currencyId String Yes
description String No
_count TransactionCountAggregateOutputType No
_avg TransactionAvgAggregateOutputType No
_sum TransactionSumAggregateOutputType No
_min TransactionMinAggregateOutputType No
_max TransactionMaxAggregateOutputType No


SaleGroupByOutputType

Name Type Nullable
id String Yes
organizationId String Yes
customerId String No
responsibleId String Yes
kassaId String No
invoiceNumber String Yes
saleDate DateTime Yes
totalAmount Decimal Yes
paidAmount Decimal Yes
currencyId String Yes
status SaleStatus Yes
notes String No
createdAt DateTime Yes
updatedAt DateTime Yes
_count SaleCountAggregateOutputType No
_avg SaleAvgAggregateOutputType No
_sum SaleSumAggregateOutputType No
_min SaleMinAggregateOutputType No
_max SaleMaxAggregateOutputType No


SaleItemGroupByOutputType

Name Type Nullable
id String Yes
saleId String Yes
productVariantId String Yes
quantity Int Yes
price Decimal Yes
total Decimal Yes
currencyId String Yes
_count SaleItemCountAggregateOutputType No
_avg SaleItemAvgAggregateOutputType No
_sum SaleItemSumAggregateOutputType No
_min SaleItemMinAggregateOutputType No
_max SaleItemMaxAggregateOutputType No


PurchaseGroupByOutputType

Name Type Nullable
id String Yes
organizationId String Yes
supplierId String Yes
responsibleId String No
kassaId String No
invoiceNumber String No
purchaseDate DateTime Yes
totalAmount Decimal Yes
paidAmount Decimal Yes
currencyId String Yes
status PurchaseStatus Yes
notes String No
createdAt DateTime Yes
updatedAt DateTime Yes
_count PurchaseCountAggregateOutputType No
_avg PurchaseAvgAggregateOutputType No
_sum PurchaseSumAggregateOutputType No
_min PurchaseMinAggregateOutputType No
_max PurchaseMaxAggregateOutputType No


PurchaseItemGroupByOutputType

Name Type Nullable
id String Yes
purchaseId String Yes
productVariantId String Yes
quantity Int Yes
price Decimal Yes
discount Decimal Yes
total Decimal Yes
_count PurchaseItemCountAggregateOutputType No
_avg PurchaseItemAvgAggregateOutputType No
_sum PurchaseItemSumAggregateOutputType No
_min PurchaseItemMinAggregateOutputType No
_max PurchaseItemMaxAggregateOutputType No


InstallmentGroupByOutputType

Name Type Nullable
id String Yes
saleId String Yes
customerId String Yes
totalAmount Decimal Yes
initialPayment Decimal Yes
paidAmount Decimal Yes
remaining Decimal Yes
totalMonths Int Yes
monthsLeft Int Yes
monthlyPayment Decimal Yes
dueDate DateTime Yes
status InstallmentStatus Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count InstallmentCountAggregateOutputType No
_avg InstallmentAvgAggregateOutputType No
_sum InstallmentSumAggregateOutputType No
_min InstallmentMinAggregateOutputType No
_max InstallmentMaxAggregateOutputType No


InstallmentPaymentGroupByOutputType

Name Type Nullable
id String Yes
installmentId String Yes
amount Decimal Yes
paidAt DateTime Yes
paymentMethod String No
note String No
createdById String No
paymentId String No
_count InstallmentPaymentCountAggregateOutputType No
_avg InstallmentPaymentAvgAggregateOutputType No
_sum InstallmentPaymentSumAggregateOutputType No
_min InstallmentPaymentMinAggregateOutputType No
_max InstallmentPaymentMaxAggregateOutputType No

AggregateDocument

Name Type Nullable
_count DocumentCountAggregateOutputType No
_min DocumentMinAggregateOutputType No
_max DocumentMaxAggregateOutputType No

DocumentGroupByOutputType

Name Type Nullable
id String Yes
organizationId String Yes
customerId String No
saleId String No
type DocumentType Yes
fileUrl String Yes
uploadedById String No
createdAt DateTime Yes
_count DocumentCountAggregateOutputType No
_min DocumentMinAggregateOutputType No
_max DocumentMaxAggregateOutputType No


SettingsGroupByOutputType

Name Type Nullable
id String Yes
organizationId String Yes
baseCurrencyId String Yes
language String No
dateFormat String No
enableInstallment Boolean Yes
enableNotifications Boolean Yes
enableAutoRateUpdate Boolean Yes
taxPercent Decimal No
logoUrl String No
theme ThemeType Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count SettingsCountAggregateOutputType No
_avg SettingsAvgAggregateOutputType No
_sum SettingsSumAggregateOutputType No
_min SettingsMinAggregateOutputType No
_max SettingsMaxAggregateOutputType No

AggregateAuditLog

Name Type Nullable
_count AuditLogCountAggregateOutputType No
_min AuditLogMinAggregateOutputType No
_max AuditLogMaxAggregateOutputType No

AuditLogGroupByOutputType

Name Type Nullable
id String Yes
organizationId String Yes
userId String No
action String Yes
entity String Yes
entityId String No
oldValue Json No
newValue Json No
note String No
createdAt DateTime Yes
_count AuditLogCountAggregateOutputType No
_min AuditLogMinAggregateOutputType No
_max AuditLogMaxAggregateOutputType No

AffectedRowsOutput

Name Type Nullable
count Int Yes

CurrencyCountOutputType

Name Type Nullable
product_prices Int Yes
kassas Int Yes
payments Int Yes
transactions Int Yes
sales Int Yes
sale_items Int Yes
purchases Int Yes
from_transfers Int Yes
to_transfers Int Yes
settings Int Yes
product_variant Int Yes

CurrencyCountAggregateOutputType

Name Type Nullable
id Int Yes
code Int Yes
name Int Yes
symbol Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

CurrencyMinAggregateOutputType

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No

CurrencyMaxAggregateOutputType

Name Type Nullable
id String No
code String No
name String No
symbol String No
createdAt DateTime No
updatedAt DateTime No

CurrencyRateCountAggregateOutputType

Name Type Nullable
id Int Yes
baseCurrency Int Yes
targetCurrency Int Yes
rate Int Yes
date Int Yes
_all Int Yes

CurrencyRateAvgAggregateOutputType

Name Type Nullable
rate Decimal No

CurrencyRateSumAggregateOutputType

Name Type Nullable
rate Decimal No

CurrencyRateMinAggregateOutputType

Name Type Nullable
id String No
baseCurrency String No
targetCurrency String No
rate Decimal No
date DateTime No

CurrencyRateMaxAggregateOutputType

Name Type Nullable
id String No
baseCurrency String No
targetCurrency String No
rate Decimal No
date DateTime No

OrganizationCountOutputType

Name Type Nullable
org_users Int Yes
customers Int Yes
products Int Yes
product_prices Int Yes
product_instances Int Yes
kassas Int Yes
payments Int Yes
transactions Int Yes
sales Int Yes
purchases Int Yes
stocks Int Yes
kassa_transfers Int Yes
audit_logs Int Yes
documents Int Yes

OrganizationCountAggregateOutputType

Name Type Nullable
id Int Yes
name Int Yes
address Int Yes
phone Int Yes
email Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

OrganizationMinAggregateOutputType

Name Type Nullable
id String No
name String No
address String No
phone String No
email String No
createdAt DateTime No
updatedAt DateTime No

OrganizationMaxAggregateOutputType

Name Type Nullable
id String No
name String No
address String No
phone String No
email String No
createdAt DateTime No
updatedAt DateTime No

UserCountOutputType

Name Type Nullable
org_links Int Yes
cutomer_links Int Yes
payments Int Yes
sales Int Yes
purchases Int Yes
phone_numbers Int Yes
audit_logs Int Yes
documents Int Yes
installment_payments Int Yes

UserCountAggregateOutputType

Name Type Nullable
id Int Yes
email Int Yes
password Int Yes
isActive Int Yes
createdAt Int Yes
updatedAt Int Yes
roleId Int Yes
_all Int Yes

UserMinAggregateOutputType

Name Type Nullable
id String No
email String No
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
roleId String No

UserMaxAggregateOutputType

Name Type Nullable
id String No
email String No
password String No
isActive Boolean No
createdAt DateTime No
updatedAt DateTime No
roleId String No

UserProfileCountAggregateOutputType

Name Type Nullable
id Int Yes
userId Int Yes
firstName Int Yes
lastName Int Yes
patronymic Int Yes
dateOfBirth Int Yes
gender Int Yes
passportSeries Int Yes
passportNumber Int Yes
issuedBy Int Yes
issuedDate Int Yes
expiryDate Int Yes
country Int Yes
region Int Yes
city Int Yes
address Int Yes
registration Int Yes
district Int Yes
_all Int Yes

UserProfileMinAggregateOutputType

Name Type Nullable
id String No
userId String No
firstName String No
lastName String No
patronymic String No
dateOfBirth DateTime No
gender Gender No
passportSeries String No
passportNumber String No
issuedBy String No
issuedDate DateTime No
expiryDate DateTime No
country String No
region String No
city String No
address String No
registration String No
district String No

UserProfileMaxAggregateOutputType

Name Type Nullable
id String No
userId String No
firstName String No
lastName String No
patronymic String No
dateOfBirth DateTime No
gender Gender No
passportSeries String No
passportNumber String No
issuedBy String No
issuedDate DateTime No
expiryDate DateTime No
country String No
region String No
city String No
address String No
registration String No
district String No

RoleCountOutputType

Name Type Nullable
users Int Yes

RoleCountAggregateOutputType

Name Type Nullable
id Int Yes
name Int Yes
description Int Yes
_all Int Yes

RoleMinAggregateOutputType

Name Type Nullable
id String No
name String No
description String No

RoleMaxAggregateOutputType

Name Type Nullable
id String No
name String No
description String No

UserPhoneCountAggregateOutputType

Name Type Nullable
id Int Yes
userId Int Yes
phone Int Yes
note Int Yes
isPrimary Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

UserPhoneMinAggregateOutputType

Name Type Nullable
id String No
userId String No
phone String No
note String No
isPrimary Boolean No
createdAt DateTime No
updatedAt DateTime No

UserPhoneMaxAggregateOutputType

Name Type Nullable
id String No
userId String No
phone String No
note String No
isPrimary Boolean No
createdAt DateTime No
updatedAt DateTime No

OrganizationUserCountAggregateOutputType

Name Type Nullable
id Int Yes
organizationId Int Yes
userId Int Yes
role Int Yes
position Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

OrganizationUserMinAggregateOutputType

Name Type Nullable
id String No
organizationId String No
userId String No
role OrgUserRole No
position String No
createdAt DateTime No
updatedAt DateTime No

OrganizationUserMaxAggregateOutputType

Name Type Nullable
id String No
organizationId String No
userId String No
role OrgUserRole No
position String No
createdAt DateTime No
updatedAt DateTime No

OrganizationCustomerCountOutputType

Name Type Nullable
product_instances Int Yes
payments Int Yes
transactions Int Yes
sales Int Yes
purchases Int Yes
installments Int Yes
documents Int Yes

OrganizationCustomerCountAggregateOutputType

Name Type Nullable
id Int Yes
organizationId Int Yes
userId Int Yes
firstName Int Yes
lastName Int Yes
patronymic Int Yes
phone Int Yes
type Int Yes
isBlacklisted Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

OrganizationCustomerMinAggregateOutputType

Name Type Nullable
id String No
organizationId String No
userId String No
firstName String No
lastName String No
patronymic String No
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No

OrganizationCustomerMaxAggregateOutputType

Name Type Nullable
id String No
organizationId String No
userId String No
firstName String No
lastName String No
patronymic String No
phone String No
type CustomerType No
isBlacklisted Boolean No
createdAt DateTime No
updatedAt DateTime No

BrandCountOutputType

Name Type Nullable
products Int Yes

BrandCountAggregateOutputType

Name Type Nullable
id Int Yes
name Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

BrandMinAggregateOutputType

Name Type Nullable
id String No
name String No
createdAt DateTime No
updatedAt DateTime No

BrandMaxAggregateOutputType

Name Type Nullable
id String No
name String No
createdAt DateTime No
updatedAt DateTime No

ProductImageCountAggregateOutputType

Name Type Nullable
id Int Yes
productId Int Yes
productVariantId Int Yes
url Int Yes
alt Int Yes
isPrimary Int Yes
sortOrder Int Yes
createdAt Int Yes
_all Int Yes

ProductImageAvgAggregateOutputType

Name Type Nullable
sortOrder Float No

ProductImageSumAggregateOutputType

Name Type Nullable
sortOrder Int No

ProductImageMinAggregateOutputType

Name Type Nullable
id String No
productId String No
productVariantId String No
url String No
alt String No
isPrimary Boolean No
sortOrder Int No
createdAt DateTime No

ProductImageMaxAggregateOutputType

Name Type Nullable
id String No
productId String No
productVariantId String No
url String No
alt String No
isPrimary Boolean No
sortOrder Int No
createdAt DateTime No

ProductCountOutputType

Name Type Nullable
categories Int Yes
prices Int Yes
variants Int Yes
images Int Yes

ProductCountAggregateOutputType

Name Type Nullable
id Int Yes
code Int Yes
organizationId Int Yes
name Int Yes
description Int Yes
brandId Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

ProductMinAggregateOutputType

Name Type Nullable
id String No
code String No
organizationId String No
name String No
description String No
brandId String No
createdAt DateTime No
updatedAt DateTime No

ProductMaxAggregateOutputType

Name Type Nullable
id String No
code String No
organizationId String No
name String No
description String No
brandId String No
createdAt DateTime No
updatedAt DateTime No

ProductVariantCountOutputType

Name Type Nullable
product_instance Int Yes
product_variant_attribute Int Yes
product_batches Int Yes
stocks Int Yes
purchase_items Int Yes
sele_items Int Yes
images Int Yes

ProductVariantCountAggregateOutputType

Name Type Nullable
id Int Yes
productId Int Yes
sku Int Yes
barcode Int Yes
title Int Yes
defaultPrice Int Yes
currencyId Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

ProductVariantAvgAggregateOutputType

Name Type Nullable
defaultPrice Decimal No

ProductVariantSumAggregateOutputType

Name Type Nullable
defaultPrice Decimal No

ProductVariantMinAggregateOutputType

Name Type Nullable
id String No
productId String No
sku String No
barcode String No
title String No
defaultPrice Decimal No
currencyId String No
createdAt DateTime No
updatedAt DateTime No

ProductVariantMaxAggregateOutputType

Name Type Nullable
id String No
productId String No
sku String No
barcode String No
title String No
defaultPrice Decimal No
currencyId String No
createdAt DateTime No
updatedAt DateTime No

AttributeCountOutputType

Name Type Nullable
values Int Yes

AttributeCountAggregateOutputType

Name Type Nullable
id Int Yes
key Int Yes
name Int Yes
_all Int Yes

AttributeMinAggregateOutputType

Name Type Nullable
id String No
key String No
name String No

AttributeMaxAggregateOutputType

Name Type Nullable
id String No
key String No
name String No

AttributeValueCountOutputType

Name Type Nullable
product_variant_attribute Int Yes

AttributeValueCountAggregateOutputType

Name Type Nullable
id Int Yes
attributeId Int Yes
value Int Yes
_all Int Yes

AttributeValueMinAggregateOutputType

Name Type Nullable
id String No
attributeId String No
value String No

AttributeValueMaxAggregateOutputType

Name Type Nullable
id String No
attributeId String No
value String No

ProductVariantAttributeCountAggregateOutputType

Name Type Nullable
id Int Yes
productVariantId Int Yes
attributeValueId Int Yes
_all Int Yes

ProductVariantAttributeMinAggregateOutputType

Name Type Nullable
id String No
productVariantId String No
attributeValueId String No

ProductVariantAttributeMaxAggregateOutputType

Name Type Nullable
id String No
productVariantId String No
attributeValueId String No

CategoryCountOutputType

Name Type Nullable
products Int Yes

CategoryCountAggregateOutputType

Name Type Nullable
id Int Yes
name Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

CategoryMinAggregateOutputType

Name Type Nullable
id String No
name String No
createdAt DateTime No
updatedAt DateTime No

CategoryMaxAggregateOutputType

Name Type Nullable
id String No
name String No
createdAt DateTime No
updatedAt DateTime No

ProductCategoryCountAggregateOutputType

Name Type Nullable
productId Int Yes
categoryId Int Yes
_all Int Yes

ProductCategoryMinAggregateOutputType

Name Type Nullable
productId String No
categoryId String No

ProductCategoryMaxAggregateOutputType

Name Type Nullable
productId String No
categoryId String No

ProductPriceCountAggregateOutputType

Name Type Nullable
id Int Yes
productId Int Yes
organizationId Int Yes
priceType Int Yes
amount Int Yes
currencyId Int Yes
customerType Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

ProductPriceAvgAggregateOutputType

Name Type Nullable
amount Decimal No

ProductPriceSumAggregateOutputType

Name Type Nullable
amount Decimal No

ProductPriceMinAggregateOutputType

Name Type Nullable
id String No
productId String No
organizationId String No
priceType PriceType No
amount Decimal No
currencyId String No
customerType CustomerType No
createdAt DateTime No
updatedAt DateTime No

ProductPriceMaxAggregateOutputType

Name Type Nullable
id String No
productId String No
organizationId String No
priceType PriceType No
amount Decimal No
currencyId String No
customerType CustomerType No
createdAt DateTime No
updatedAt DateTime No

ProductInstanceCountOutputType

Name Type Nullable
transactions Int Yes

ProductInstanceCountAggregateOutputType

Name Type Nullable
id Int Yes
productVariantId Int Yes
serialNumber Int Yes
currentOwnerId Int Yes
currentStatus Int Yes
organizationId Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

ProductInstanceMinAggregateOutputType

Name Type Nullable
id String No
productVariantId String No
serialNumber String No
currentOwnerId String No
currentStatus ProductStatus No
organizationId String No
createdAt DateTime No
updatedAt DateTime No

ProductInstanceMaxAggregateOutputType

Name Type Nullable
id String No
productVariantId String No
serialNumber String No
currentOwnerId String No
currentStatus ProductStatus No
organizationId String No
createdAt DateTime No
updatedAt DateTime No

ProductTransactionCountAggregateOutputType

Name Type Nullable
id Int Yes
productInstanceId Int Yes
fromCustomerId Int Yes
toCustomerId Int Yes
toOrganizationId Int Yes
saleId Int Yes
action Int Yes
date Int Yes
description Int Yes
_all Int Yes

ProductTransactionMinAggregateOutputType

Name Type Nullable
id String No
productInstanceId String No
fromCustomerId String No
toCustomerId String No
toOrganizationId String No
saleId String No
action ProductAction No
date DateTime No
description String No

ProductTransactionMaxAggregateOutputType

Name Type Nullable
id String No
productInstanceId String No
fromCustomerId String No
toCustomerId String No
toOrganizationId String No
saleId String No
action ProductAction No
date DateTime No
description String No

ProductBatchCountAggregateOutputType

Name Type Nullable
id Int Yes
productVariantId Int Yes
batchNumber Int Yes
expiryDate Int Yes
quantity Int Yes
isValid Int Yes
createdAt Int Yes
_all Int Yes

ProductBatchAvgAggregateOutputType

Name Type Nullable
quantity Float No

ProductBatchSumAggregateOutputType

Name Type Nullable
quantity Int No

ProductBatchMinAggregateOutputType

Name Type Nullable
id String No
productVariantId String No
batchNumber String No
expiryDate DateTime No
quantity Int No
isValid Boolean No
createdAt DateTime No

ProductBatchMaxAggregateOutputType

Name Type Nullable
id String No
productVariantId String No
batchNumber String No
expiryDate DateTime No
quantity Int No
isValid Boolean No
createdAt DateTime No

StockCountAggregateOutputType

Name Type Nullable
id Int Yes
organizationId Int Yes
productVariantId Int Yes
quantity Int Yes
updatedAt Int Yes
_all Int Yes

StockAvgAggregateOutputType

Name Type Nullable
quantity Float No

StockSumAggregateOutputType

Name Type Nullable
quantity Int No

StockMinAggregateOutputType

Name Type Nullable
id String No
organizationId String No
productVariantId String No
quantity Int No
updatedAt DateTime No

StockMaxAggregateOutputType

Name Type Nullable
id String No
organizationId String No
productVariantId String No
quantity Int No
updatedAt DateTime No

KassaCountOutputType

Name Type Nullable
payments Int Yes
purchases Int Yes
sales Int Yes
outgoing_transfers Int Yes
incoming_transfers Int Yes

KassaCountAggregateOutputType

Name Type Nullable
id Int Yes
organizationId Int Yes
name Int Yes
type Int Yes
currencyId Int Yes
balance Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

KassaAvgAggregateOutputType

Name Type Nullable
balance Decimal No

KassaSumAggregateOutputType

Name Type Nullable
balance Decimal No

KassaMinAggregateOutputType

Name Type Nullable
id String No
organizationId String No
name String No
type String No
currencyId String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No

KassaMaxAggregateOutputType

Name Type Nullable
id String No
organizationId String No
name String No
type String No
currencyId String No
balance Decimal No
createdAt DateTime No
updatedAt DateTime No

KassaTransferCountAggregateOutputType

Name Type Nullable
id Int Yes
organizationId Int Yes
fromKassaId Int Yes
toKassaId Int Yes
fromCurrencyId Int Yes
toCurrencyId Int Yes
rate Int Yes
amount Int Yes
convertedAmount Int Yes
description Int Yes
createdAt Int Yes
_all Int Yes

KassaTransferAvgAggregateOutputType

Name Type Nullable
rate Decimal No
amount Decimal No
convertedAmount Decimal No

KassaTransferSumAggregateOutputType

Name Type Nullable
rate Decimal No
amount Decimal No
convertedAmount Decimal No

KassaTransferMinAggregateOutputType

Name Type Nullable
id String No
organizationId String No
fromKassaId String No
toKassaId String No
fromCurrencyId String No
toCurrencyId String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String No
createdAt DateTime No

KassaTransferMaxAggregateOutputType

Name Type Nullable
id String No
organizationId String No
fromKassaId String No
toKassaId String No
fromCurrencyId String No
toCurrencyId String No
rate Decimal No
amount Decimal No
convertedAmount Decimal No
description String No
createdAt DateTime No

PaymentCountOutputType

Name Type Nullable
installment_payments Int Yes

PaymentCountAggregateOutputType

Name Type Nullable
id Int Yes
organizationId Int Yes
userId Int Yes
customerId Int Yes
kassaId Int Yes
amount Int Yes
currencyId Int Yes
type Int Yes
description Int Yes
purchaseId Int Yes
saleId Int Yes
createdAt Int Yes
_all Int Yes

PaymentAvgAggregateOutputType

Name Type Nullable
amount Decimal No

PaymentSumAggregateOutputType

Name Type Nullable
amount Decimal No

PaymentMinAggregateOutputType

Name Type Nullable
id String No
organizationId String No
userId String No
customerId String No
kassaId String No
amount Decimal No
currencyId String No
type PaymentType No
description String No
purchaseId String No
saleId String No
createdAt DateTime No

PaymentMaxAggregateOutputType

Name Type Nullable
id String No
organizationId String No
userId String No
customerId String No
kassaId String No
amount Decimal No
currencyId String No
type PaymentType No
description String No
purchaseId String No
saleId String No
createdAt DateTime No

TransactionCountAggregateOutputType

Name Type Nullable
id Int Yes
organizationId Int Yes
customerId Int Yes
relatedType Int Yes
relatedId Int Yes
date Int Yes
debit Int Yes
credit Int Yes
balanceAfter Int Yes
currencyId Int Yes
description Int Yes
_all Int Yes

TransactionAvgAggregateOutputType

Name Type Nullable
debit Decimal No
credit Decimal No
balanceAfter Decimal No

TransactionSumAggregateOutputType

Name Type Nullable
debit Decimal No
credit Decimal No
balanceAfter Decimal No

TransactionMinAggregateOutputType

Name Type Nullable
id String No
organizationId String No
customerId String No
relatedType RelatedType No
relatedId String No
date DateTime No
debit Decimal No
credit Decimal No
balanceAfter Decimal No
currencyId String No
description String No

TransactionMaxAggregateOutputType

Name Type Nullable
id String No
organizationId String No
customerId String No
relatedType RelatedType No
relatedId String No
date DateTime No
debit Decimal No
credit Decimal No
balanceAfter Decimal No
currencyId String No
description String No

SaleCountOutputType

Name Type Nullable
items Int Yes
payments Int Yes
installments Int Yes
documents Int Yes

SaleCountAggregateOutputType

Name Type Nullable
id Int Yes
organizationId Int Yes
customerId Int Yes
responsibleId Int Yes
kassaId Int Yes
invoiceNumber Int Yes
saleDate Int Yes
totalAmount Int Yes
paidAmount Int Yes
currencyId Int Yes
status Int Yes
notes Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

SaleAvgAggregateOutputType

Name Type Nullable
totalAmount Decimal No
paidAmount Decimal No

SaleSumAggregateOutputType

Name Type Nullable
totalAmount Decimal No
paidAmount Decimal No

SaleMinAggregateOutputType

Name Type Nullable
id String No
organizationId String No
customerId String No
responsibleId String No
kassaId String No
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status SaleStatus No
notes String No
createdAt DateTime No
updatedAt DateTime No

SaleMaxAggregateOutputType

Name Type Nullable
id String No
organizationId String No
customerId String No
responsibleId String No
kassaId String No
invoiceNumber String No
saleDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status SaleStatus No
notes String No
createdAt DateTime No
updatedAt DateTime No

SaleItemCountAggregateOutputType

Name Type Nullable
id Int Yes
saleId Int Yes
productVariantId Int Yes
quantity Int Yes
price Int Yes
total Int Yes
currencyId Int Yes
_all Int Yes

SaleItemAvgAggregateOutputType

Name Type Nullable
quantity Float No
price Decimal No
total Decimal No

SaleItemSumAggregateOutputType

Name Type Nullable
quantity Int No
price Decimal No
total Decimal No

SaleItemMinAggregateOutputType

Name Type Nullable
id String No
saleId String No
productVariantId String No
quantity Int No
price Decimal No
total Decimal No
currencyId String No

SaleItemMaxAggregateOutputType

Name Type Nullable
id String No
saleId String No
productVariantId String No
quantity Int No
price Decimal No
total Decimal No
currencyId String No

PurchaseCountOutputType

Name Type Nullable
items Int Yes
payments Int Yes

PurchaseCountAggregateOutputType

Name Type Nullable
id Int Yes
organizationId Int Yes
supplierId Int Yes
responsibleId Int Yes
kassaId Int Yes
invoiceNumber Int Yes
purchaseDate Int Yes
totalAmount Int Yes
paidAmount Int Yes
currencyId Int Yes
status Int Yes
notes Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

PurchaseAvgAggregateOutputType

Name Type Nullable
totalAmount Decimal No
paidAmount Decimal No

PurchaseSumAggregateOutputType

Name Type Nullable
totalAmount Decimal No
paidAmount Decimal No

PurchaseMinAggregateOutputType

Name Type Nullable
id String No
organizationId String No
supplierId String No
responsibleId String No
kassaId String No
invoiceNumber String No
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status PurchaseStatus No
notes String No
createdAt DateTime No
updatedAt DateTime No

PurchaseMaxAggregateOutputType

Name Type Nullable
id String No
organizationId String No
supplierId String No
responsibleId String No
kassaId String No
invoiceNumber String No
purchaseDate DateTime No
totalAmount Decimal No
paidAmount Decimal No
currencyId String No
status PurchaseStatus No
notes String No
createdAt DateTime No
updatedAt DateTime No

PurchaseItemCountAggregateOutputType

Name Type Nullable
id Int Yes
purchaseId Int Yes
productVariantId Int Yes
quantity Int Yes
price Int Yes
discount Int Yes
total Int Yes
_all Int Yes

PurchaseItemAvgAggregateOutputType

Name Type Nullable
quantity Float No
price Decimal No
discount Decimal No
total Decimal No

PurchaseItemSumAggregateOutputType

Name Type Nullable
quantity Int No
price Decimal No
discount Decimal No
total Decimal No

PurchaseItemMinAggregateOutputType

Name Type Nullable
id String No
purchaseId String No
productVariantId String No
quantity Int No
price Decimal No
discount Decimal No
total Decimal No

PurchaseItemMaxAggregateOutputType

Name Type Nullable
id String No
purchaseId String No
productVariantId String No
quantity Int No
price Decimal No
discount Decimal No
total Decimal No

InstallmentCountOutputType

Name Type Nullable
payments Int Yes

InstallmentCountAggregateOutputType

Name Type Nullable
id Int Yes
saleId Int Yes
customerId Int Yes
totalAmount Int Yes
initialPayment Int Yes
paidAmount Int Yes
remaining Int Yes
totalMonths Int Yes
monthsLeft Int Yes
monthlyPayment Int Yes
dueDate Int Yes
status Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

InstallmentAvgAggregateOutputType

Name Type Nullable
totalAmount Decimal No
initialPayment Decimal No
paidAmount Decimal No
remaining Decimal No
totalMonths Float No
monthsLeft Float No
monthlyPayment Decimal No

InstallmentSumAggregateOutputType

Name Type Nullable
totalAmount Decimal No
initialPayment Decimal No
paidAmount Decimal No
remaining Decimal No
totalMonths Int No
monthsLeft Int No
monthlyPayment Decimal No

InstallmentMinAggregateOutputType

Name Type Nullable
id String No
saleId String No
customerId String No
totalAmount Decimal No
initialPayment Decimal No
paidAmount Decimal No
remaining Decimal No
totalMonths Int No
monthsLeft Int No
monthlyPayment Decimal No
dueDate DateTime No
status InstallmentStatus No
createdAt DateTime No
updatedAt DateTime No

InstallmentMaxAggregateOutputType

Name Type Nullable
id String No
saleId String No
customerId String No
totalAmount Decimal No
initialPayment Decimal No
paidAmount Decimal No
remaining Decimal No
totalMonths Int No
monthsLeft Int No
monthlyPayment Decimal No
dueDate DateTime No
status InstallmentStatus No
createdAt DateTime No
updatedAt DateTime No

InstallmentPaymentCountAggregateOutputType

Name Type Nullable
id Int Yes
installmentId Int Yes
amount Int Yes
paidAt Int Yes
paymentMethod Int Yes
note Int Yes
createdById Int Yes
paymentId Int Yes
_all Int Yes

InstallmentPaymentAvgAggregateOutputType

Name Type Nullable
amount Decimal No

InstallmentPaymentSumAggregateOutputType

Name Type Nullable
amount Decimal No

InstallmentPaymentMinAggregateOutputType

Name Type Nullable
id String No
installmentId String No
amount Decimal No
paidAt DateTime No
paymentMethod String No
note String No
createdById String No
paymentId String No

InstallmentPaymentMaxAggregateOutputType

Name Type Nullable
id String No
installmentId String No
amount Decimal No
paidAt DateTime No
paymentMethod String No
note String No
createdById String No
paymentId String No

DocumentCountAggregateOutputType

Name Type Nullable
id Int Yes
organizationId Int Yes
customerId Int Yes
saleId Int Yes
type Int Yes
fileUrl Int Yes
uploadedById Int Yes
createdAt Int Yes
_all Int Yes

DocumentMinAggregateOutputType

Name Type Nullable
id String No
organizationId String No
customerId String No
saleId String No
type DocumentType No
fileUrl String No
uploadedById String No
createdAt DateTime No

DocumentMaxAggregateOutputType

Name Type Nullable
id String No
organizationId String No
customerId String No
saleId String No
type DocumentType No
fileUrl String No
uploadedById String No
createdAt DateTime No

SettingsCountAggregateOutputType

Name Type Nullable
id Int Yes
organizationId Int Yes
baseCurrencyId Int Yes
language Int Yes
dateFormat Int Yes
enableInstallment Int Yes
enableNotifications Int Yes
enableAutoRateUpdate Int Yes
taxPercent Int Yes
logoUrl Int Yes
theme Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

SettingsAvgAggregateOutputType

Name Type Nullable
taxPercent Decimal No

SettingsSumAggregateOutputType

Name Type Nullable
taxPercent Decimal No

SettingsMinAggregateOutputType

Name Type Nullable
id String No
organizationId String No
baseCurrencyId String No
language String No
dateFormat String No
enableInstallment Boolean No
enableNotifications Boolean No
enableAutoRateUpdate Boolean No
taxPercent Decimal No
logoUrl String No
theme ThemeType No
createdAt DateTime No
updatedAt DateTime No

SettingsMaxAggregateOutputType

Name Type Nullable
id String No
organizationId String No
baseCurrencyId String No
language String No
dateFormat String No
enableInstallment Boolean No
enableNotifications Boolean No
enableAutoRateUpdate Boolean No
taxPercent Decimal No
logoUrl String No
theme ThemeType No
createdAt DateTime No
updatedAt DateTime No

AuditLogCountAggregateOutputType

Name Type Nullable
id Int Yes
organizationId Int Yes
userId Int Yes
action Int Yes
entity Int Yes
entityId Int Yes
oldValue Int Yes
newValue Int Yes
note Int Yes
createdAt Int Yes
_all Int Yes

AuditLogMinAggregateOutputType

Name Type Nullable
id String No
organizationId String No
userId String No
action String No
entity String No
entityId String No
note String No
createdAt DateTime No

AuditLogMaxAggregateOutputType

Name Type Nullable
id String No
organizationId String No
userId String No
action String No
entity String No
entityId String No
note String No
createdAt DateTime No